contrib/boost/Pkgfile

48 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/
2008-03-26 03:45:31 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: sten, nick dot steeves at shaw dot ca
2007-12-16 23:24:00 +01:00
# Depends on: boost-jam icu 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"
2007-12-16 23:24:00 +01:00
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
2007-07-22 14:46:23 +02:00
(
cd tools/bcp
2007-12-16 23:24:00 +01:00
bjam \
--toolset=gcc \
debug-symbols=off \
-sHAVE_ICU=1
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
)
2007-12-16 23:24:00 +01:00
bjam \
release \
debug-symbols=off \
threading=single,multi \
runtime-link=shared \
link=shared,static \
2007-07-22 14:46:23 +02:00
--prefix=$PKG/usr \
--toolset=gcc \
--layout=system \
2007-12-16 23:24:00 +01:00
-sHAVE_ICU=1 \
2007-07-22 14:46:23 +02:00
install
cd libs/python/pyste/install
python setup.py install --root=$PKG
mv $PKG/usr/bin/pyste.py $PKG/usr/bin/pyste
}