Bump boost

This commit is contained in:
Mike Staszel 2010-10-21 20:45:50 -05:00
parent 2df80de9b2
commit 1141f14765

View file

@ -3,16 +3,16 @@
# TU: Kritoke <kritoke@gamebox.net> # TU: Kritoke <kritoke@gamebox.net>
# Contributor: Luca Roccia <little_rock@users.sourceforge.net> # Contributor: Luca Roccia <little_rock@users.sourceforge.net>
# Plugbox modifications: Chane bindir to linuxarm. # Plugbox mods: Change linuxx86 to linuxarm
pkgbase=boost pkgbase=boost
pkgname=('boost-libs' 'boost') pkgname=('boost-libs' 'boost')
pkgver=1.43.0 pkgver=1.43.0
_boostver=1_43_0 _boostver=1_43_0
pkgrel=1 pkgrel=2
arch=('i686' 'x86_64') arch=('arm')
url="http://www.boost.org/" url="http://www.boost.org/"
makedepends=('python>=2.6' 'bzip2' 'zlib') makedepends=('python2' 'bzip2' 'zlib')
source=(http://downloads.sourceforge.net/sourceforge/${pkgbase}/${pkgbase}_${_boostver}.tar.gz) source=(http://downloads.sourceforge.net/sourceforge/${pkgbase}/${pkgbase}_${_boostver}.tar.gz)
license=('custom') license=('custom')
options=('!ccache') options=('!ccache')
@ -21,6 +21,10 @@ md5sums=('734565ca4819bf04bd8e903e116c3fb1')
_stagedir="${srcdir}/stagedir" _stagedir="${srcdir}/stagedir"
build() { build() {
# set python path for bjam
cd "${srcdir}/${pkgbase}_${_boostver}/tools"
echo "using python : 2.7 : /usr/bin/python2 ;" >> build/v2/user-config.jam
# build bjam # build bjam
cd "${srcdir}/${pkgbase}_${_boostver}/tools/jam/src" cd "${srcdir}/${pkgbase}_${_boostver}/tools/jam/src"
./build.sh cc || return 1 ./build.sh cc || return 1
@ -51,21 +55,19 @@ build() {
cflags=-fno-strict-aliasing \ cflags=-fno-strict-aliasing \
toolset=gcc \ toolset=gcc \
--prefix="${_stagedir}" \ --prefix="${_stagedir}" \
-sPYTHON_ROOT=/usr \
-sPYTHON_VERSION=2.6 \
-sTOOLS=gcc \ -sTOOLS=gcc \
--layout=tagged \ --layout=tagged \
install || return 1 install || return 1
# build pyste # build pyste
cd "${srcdir}/${pkgbase}_${_boostver}/libs/python/pyste/install" cd "${srcdir}/${pkgbase}_${_boostver}/libs/python/pyste/install"
python setup.py install --root=${_stagedir} || return 1 python2 setup.py install --root=${_stagedir} || return 1
} }
package_boost() { package_boost() {
pkgdesc="Free peer-reviewed portable C++ source libraries - Development" pkgdesc="Free peer-reviewed portable C++ source libraries - Development"
depends=("boost-libs=${pkgver}") depends=("boost-libs=${pkgver}")
optdepends=('python: for python bindings') optdepends=('python2: for python bindings')
install -dm 755 "${pkgdir}"/usr/{include,lib} install -dm 755 "${pkgdir}"/usr/{include,lib}
# headers/source files # headers/source files