2006-11-21 22:03:23 +11:00
|
|
|
# Description: Free peer-reviewed portable C++ source libraries.
|
|
|
|
# URL: http://www.boost.org
|
|
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
|
|
|
# Depends on: python
|
|
|
|
|
|
|
|
name=boost
|
2007-07-28 07:01:46 +10:00
|
|
|
version=1.34.1
|
|
|
|
release=1
|
2007-04-01 18:00:21 +10:00
|
|
|
source=(http://dl.sourceforge.net/sourceforge/boost/boost_${version//./_}.tar.bz2)
|
2006-11-21 22:03:23 +11:00
|
|
|
|
|
|
|
build() {
|
2007-05-14 18:32:18 +10:00
|
|
|
cd boost_${version//./_}
|
2007-07-22 22:46:23 +10:00
|
|
|
|
|
|
|
local bindir='bin.linuxx86'
|
2007-08-13 12:38:10 +10:00
|
|
|
local gccversion="$(pkginfo -i |grep '^gcc ' |awk '{print $2}' |sed -e "s/\([.0-9]*\)-[0-9]*/\1/")"
|
2007-07-22 22:46:23 +10:00
|
|
|
export CFLAGS="$CFLAGS -fno-strict-aliasing"
|
|
|
|
|
|
|
|
(
|
|
|
|
cd tools/jam/src
|
|
|
|
./build.sh gcc
|
|
|
|
install -D -m755 $bindir/bjam $PKG/usr/bin/bjam
|
|
|
|
)
|
|
|
|
|
|
|
|
(
|
|
|
|
cd tools/bcp
|
|
|
|
../jam/src/$bindir/bjam --toolset=gcc debug-symbols=off
|
|
|
|
install -D -m755 ../../bin.v2/tools/bcp/gcc-$gccversion/release/link-static/bcp $PKG/usr/bin/bcp
|
|
|
|
)
|
|
|
|
|
|
|
|
./tools/jam/src/$bindir/bjam \
|
|
|
|
release debug-symbols=off threading=single,multi \
|
|
|
|
runtime-link=shared link=shared,static \
|
|
|
|
--prefix=$PKG/usr \
|
|
|
|
--toolset=gcc \
|
|
|
|
--layout=system \
|
|
|
|
install
|
|
|
|
|
|
|
|
cd libs/python/pyste/install
|
|
|
|
python setup.py install --root=$PKG
|
|
|
|
mv $PKG/usr/bin/pyste.py $PKG/usr/bin/pyste
|
2006-11-21 22:03:23 +11:00
|
|
|
}
|
|
|
|
|