#Maintainer: Pedro Pinto (pnboy~AT~pinguix.com) pkgname=boost pkgver=1.38.0 pkgrel=2 zenver=60 arch=i486 source=(http://switch.dl.sourceforge.net/sourceforge/boost/${pkgname}_${pkgver//./_}.tar.gz) sourcetemplate=http://pnboy.pinguix.com/my_packages/zenwalk/$pkgname/$pkgver/ docs=(AUTHORS COPYING NEWS README) url=http://www.boost.org/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Portable C++ libraries)" "Boost is a collection of free peer-reviewed portable C++ source" "libraries. The emphasis is on libraries which work well with the C++" "Standard Library. This package contains only the shared libraries" "needed for running programs using Boost." ) build() { cd $startdir/src/${pkgname}_${pkgver//./_} # Configure: mkdir -p $startdir/pkg/usr/{bin,lib,include} # Optimization has to be set to -O0 or -O1 to work around a gcc-bug bjam \ release debug-symbols=off threading=single,multi \ runtime-link=shared link=shared,static \ --prefix=$startdir/pkg/usr \ -sPYTHON_ROOT=/usr \ -sPYTHON_VERSION=2.5 \ -sTOOLS=gcc \ --layout=system \ install || return 1 # build pyste cd $startdir/src/${pkgname}_${pkgver//./_}/libs/python/pyste/install python setup.py install --root=$startdir/pkg || return 1 }