contrib/boost-jam/Pkgfile
2007-07-22 12:10:23 +10:00

30 lines
830 B
Plaintext

# Description: Free peer-reviewed portable C++ source libraries.
# URL: http://www.boost.org/
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: Danny Rawlins, romster at shortcircuit dot net dot au
# Depends on:
name=boost-jam
version=3.1.14
release=1
source=(http://dl.sourceforge.net/sourceforge/boost/boost-jam-$version.tgz)
build() {
cd boost-jam-$version
./build.sh gcc
install -D -m755 bin.linuxx86/bjam $PKG/usr/bin/bjam
# install distcc symlinks if distcc is installed
if pkginfo -i |grep '^distcc '; then
install -d $PKG/usr/lib/distcc
cd $PKG/usr/lib/distcc && ln -s ../../bin/distcc bjam
fi
# install ccache symlinks if ccache is installed
if pkginfo -i |grep '^ccache '; then
install -d $PKG/usr/lib/ccache
cd $PKG/usr/lib/ccache && ln -s ../../bin/ccache bjam
fi
}