summaryrefslogtreecommitdiffstats
path: root/base/boost/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/boost/Pkgfile')
-rw-r--r--base/boost/Pkgfile14
1 files changed, 8 insertions, 6 deletions
diff --git a/base/boost/Pkgfile b/base/boost/Pkgfile
index 74cbb81a1..1269bf9c8 100644
--- a/base/boost/Pkgfile
+++ b/base/boost/Pkgfile
@@ -2,13 +2,13 @@
# URL: http://boost.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
+# Depends on: python
# Run on:
name=boost
-version=1.46.1
+version=1.47.0
release=1
-_boostver=1_46_1
+_boostver=1_47_0
source=(http://downloads.sourceforge.net/$name/boost_$_boostver.tar.bz2
http://nutyx.meticul.eu/files/patchs/boost/boost-1.46.0-signals-erase-2.patch)
@@ -16,11 +16,13 @@ source=(http://downloads.sourceforge.net/$name/boost_$_boostver.tar.bz2
build() {
cd boost_$_boostver
# patch -Np1 -i ../boost-1.46.0-signals-erase-2.patch
+
# build bjam
cd $SRC/boost_${_boostver}/tools/
echo "using python : 2.7 : /usr/bin/python2 ;" >> build/v2/user-config.jam
+ echo "using python : 3.2 : /usr/bin/python : /usr/include/python3.2mu : /usr/lib ;" >> build/v2/user-config.jam
- cd $SRC/boost_${_boostver}/tools/build/v2/engine/src
+ cd $SRC/boost_${_boostver}/tools/build/v2/engine
./build.sh cc
case `uname -m` in
@@ -37,7 +39,7 @@ build() {
# build bcp
cd $SRC/boost_${_boostver}/tools/bcp
- ../build/v2/engine/src/${_bindir}/bjam --toolset=gcc
+ ../build/v2/engine/${_bindir}/bjam --toolset=gcc
install -m755 $SRC/boost_${_boostver}/dist/bin/bcp $PKG/usr/bin/bcp
@@ -51,7 +53,7 @@ build() {
# and installs includes in /usr/include/boost.
# --layout=system no longer adds the -mt suffix for multi-threaded libs.
- ./tools/build/v2/engine/src/${_bindir}/bjam \
+ ./tools/build/v2/engine/${_bindir}/bjam \
release debug-symbols=off threading=single,multi \
runtime-link=shared link=shared,static \
cflags=-fno-strict-aliasing \