2006-11-21 22:03:23 +11:00
|
|
|
# Description: Free peer-reviewed portable C++ source libraries.
|
2007-12-16 17:56:50 +11:00
|
|
|
# URL: http://www.boost.org/
|
2008-03-26 13:45:31 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2006-11-21 22:03:23 +11:00
|
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
2007-12-17 09:24:00 +11:00
|
|
|
# Depends on: boost-jam icu python
|
2006-11-21 22:03:23 +11:00
|
|
|
|
|
|
|
name=boost
|
2008-08-17 01:40:52 +10:00
|
|
|
version=1.36.0
|
2007-07-28 07:01:46 +10:00
|
|
|
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
|
|
|
|
2007-12-16 17:56:50 +11:00
|
|
|
local gccversion="$(gcc -dumpversion)"
|
2007-12-17 09:24:00 +11:00
|
|
|
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
|
2008-05-02 04:16:07 +10:00
|
|
|
export EXPAT_INCLUDE=/usr/include
|
|
|
|
export EXPAT_LIBPATH=/usr/lib
|
2007-07-22 22:46:23 +10:00
|
|
|
|
2008-05-02 04:16:07 +10:00
|
|
|
pushd tools/bcp
|
|
|
|
bjam \
|
|
|
|
--toolset=gcc \
|
|
|
|
debug-symbols=off \
|
|
|
|
-sHAVE_ICU=1
|
2007-12-17 09:24:00 +11:00
|
|
|
|
2008-05-02 04:16:07 +10:00
|
|
|
install -D -m 0755 ../../bin.v2/tools/bcp/gcc-$gccversion/release/link-static/bcp $PKG/usr/bin/bcp
|
|
|
|
popd
|
2007-07-22 22:46:23 +10:00
|
|
|
|
2007-12-17 09:24:00 +11:00
|
|
|
bjam \
|
|
|
|
release \
|
|
|
|
debug-symbols=off \
|
|
|
|
threading=single,multi \
|
|
|
|
runtime-link=shared \
|
|
|
|
link=shared,static \
|
2007-07-22 22:46:23 +10:00
|
|
|
--prefix=$PKG/usr \
|
|
|
|
--toolset=gcc \
|
|
|
|
--layout=system \
|
2007-12-17 09:24:00 +11:00
|
|
|
-sHAVE_ICU=1 \
|
2007-07-22 22:46:23 +10:00
|
|
|
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
|
|
|
}
|
|
|
|
|