diff options
author | sibel <lesibel@free.fr> | 2011-02-19 18:34:58 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-02-19 18:34:58 +0100 |
commit | a8d01146649e0d2541646347367e7574db86dc81 (patch) | |
tree | 80bba1d1fc66bc58f28d158ef08abf63ab0c953a /extra/boost/Pkgfile | |
parent | 13649d120231a74b6bc8a0cc51ba9e3254cea7d6 (diff) | |
download | nutyx-extra-a8d01146649e0d2541646347367e7574db86dc81.tar.gz nutyx-extra-a8d01146649e0d2541646347367e7574db86dc81.tar.bz2 nutyx-extra-a8d01146649e0d2541646347367e7574db86dc81.tar.xz nutyx-extra-a8d01146649e0d2541646347367e7574db86dc81.zip |
boost, ajout patch pour gcc4.6
Diffstat (limited to 'extra/boost/Pkgfile')
-rw-r--r-- | extra/boost/Pkgfile | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/extra/boost/Pkgfile b/extra/boost/Pkgfile deleted file mode 100644 index 27744be25..000000000 --- a/extra/boost/Pkgfile +++ /dev/null @@ -1,67 +0,0 @@ -# Description: Free peer-reviewed portable C++ source libraries -# URL: http://boost.sourceforge.net/ -# Maintainer: NuTyX core team -# Packager: thierryn1 at hispeed dot ch -# Depends on: -# Run on: - -name=boost -version=1.45.0 -release=2 -_boostver=1_45_0 - -source=(http://downloads.sourceforge.net/$name/boost_$_boostver.tar.bz2 ) - -build() { - 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 - - _bindir="bin.linuxx86" - [ "`uname -m`" = "x86_64" ] && _bindir="bin.linuxx86_64" - - install -m755 -d $PKG/usr/bin - install -m755 ${_bindir}/bjam $PKG/usr/bin/bjam - -# build bcp - cd $SRC/boost_${_boostver}/tools/bcp - - ../build/v2/engine/src/${_bindir}/bjam --toolset=gcc - - install -m755 $SRC/boost_${_boostver}/dist/bin/bcp $PKG/usr/bin/bcp - - -# build libs - cd $SRC/boost_${_boostver} - - # default "minimal" install: "release link=shared,static - # runtime-link=shared threading=multi" - # --layout=tagged will add the "-mt" suffix for multithreaded libraries - # 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 \ - release debug-symbols=off threading=single,multi \ - runtime-link=shared link=shared,static \ - cflags=-fno-strict-aliasing \ - toolset=gcc \ - --prefix=$PKG/ \ - -sTOOLS=gcc \ - --layout=tagged \ - ${MAKEFLAGS} \ - install - -# build pyste - 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/ -} - |