contrib/boost/Pkgfile

44 lines
1.1 KiB
Plaintext
Raw Normal View History

# Description: Free peer-reviewed portable C++ source libraries.
2007-12-16 07:56:50 +01:00
# 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-27 23:01:46 +02:00
version=1.34.1
release=1
2007-04-01 10:00:21 +02:00
source=(http://dl.sourceforge.net/sourceforge/boost/boost_${version//./_}.tar.bz2)
build() {
2007-05-14 10:32:18 +02:00
cd boost_${version//./_}
2007-07-22 14:46:23 +02:00
local bindir='bin.linuxx86'
2007-12-16 07:56:50 +01:00
local gccversion="$(gcc -dumpversion)"
2007-07-22 14:46:23 +02:00
export CFLAGS="$CFLAGS -fno-strict-aliasing"
(
cd tools/jam/src
./build.sh gcc
2007-12-16 07:56:50 +01:00
install -D -m 0755 $bindir/bjam $PKG/usr/bin/bjam
2007-07-22 14:46:23 +02:00
)
(
cd tools/bcp
../jam/src/$bindir/bjam --toolset=gcc debug-symbols=off
2007-12-16 07:56:50 +01:00
install -D -m 0755 ../../bin.v2/tools/bcp/gcc-$gccversion/release/link-static/bcp $PKG/usr/bin/bcp
2007-07-22 14:46:23 +02:00
)
./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
}