summaryrefslogtreecommitdiffstats
path: root/extra/boost/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-08 18:53:43 +0100
committersibel <lesibel@free.fr>2011-01-08 18:53:43 +0100
commit01557bc3de752aa1dbb4686eef7ffdb67aa1fa1a (patch)
tree68f095b78754f257875d94b7ca5c0f77eaf19dc0 /extra/boost/Pkgfile
parent4657add5c10e7825d28700515228352d989c4a95 (diff)
downloadnutyx-extra-01557bc3de752aa1dbb4686eef7ffdb67aa1fa1a.tar.gz
nutyx-extra-01557bc3de752aa1dbb4686eef7ffdb67aa1fa1a.tar.bz2
nutyx-extra-01557bc3de752aa1dbb4686eef7ffdb67aa1fa1a.tar.xz
nutyx-extra-01557bc3de752aa1dbb4686eef7ffdb67aa1fa1a.zip
boost, include mis a sa place
Diffstat (limited to 'extra/boost/Pkgfile')
-rw-r--r--extra/boost/Pkgfile11
1 files changed, 7 insertions, 4 deletions
diff --git a/extra/boost/Pkgfile b/extra/boost/Pkgfile
index 0c3941441..9ed68696b 100644
--- a/extra/boost/Pkgfile
+++ b/extra/boost/Pkgfile
@@ -6,17 +6,17 @@
name=boost
version=1.45.0
-release=1
+release=2
_boostver=1_45_0
-source=(http://downloads.sourceforge.net/$name/boost_${version//./_}.tar.bz2 )
+source=(http://downloads.sourceforge.net/$name/boost_$_boostver.tar.bz2 )
build() {
- cd boost_${version//./_}
+ cd boost_$_boostver
# build bjam
cd $SRC/boost_${_boostver}/tools/
- echo "using python : 2.7 : /usr/bin/python2 ;" >> build/v2/user-config.jam
+
cd $SRC/boost_${_boostver}/tools/build/v2/engine/src
./build.sh cc
@@ -58,5 +58,8 @@ build() {
cd $SRC/boost_${_boostver}/libs/python/pyste/install
python2 setup.py install --root=$PKG
+ install -dm 755 $PKG/usr/{include,lib}
+ cp -r $PKG/include/ $PKG/usr/
+ rm -rf $PKG/include/
}