mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
Bump boost
This commit is contained in:
parent
2df80de9b2
commit
1141f14765
1 changed files with 10 additions and 8 deletions
|
@ -3,16 +3,16 @@
|
|||
# TU: Kritoke <kritoke@gamebox.net>
|
||||
# Contributor: Luca Roccia <little_rock@users.sourceforge.net>
|
||||
|
||||
# Plugbox modifications: Chane bindir to linuxarm.
|
||||
# Plugbox mods: Change linuxx86 to linuxarm
|
||||
|
||||
pkgbase=boost
|
||||
pkgname=('boost-libs' 'boost')
|
||||
pkgver=1.43.0
|
||||
_boostver=1_43_0
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
pkgrel=2
|
||||
arch=('arm')
|
||||
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)
|
||||
license=('custom')
|
||||
options=('!ccache')
|
||||
|
@ -21,6 +21,10 @@ md5sums=('734565ca4819bf04bd8e903e116c3fb1')
|
|||
_stagedir="${srcdir}/stagedir"
|
||||
|
||||
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
|
||||
cd "${srcdir}/${pkgbase}_${_boostver}/tools/jam/src"
|
||||
./build.sh cc || return 1
|
||||
|
@ -51,21 +55,19 @@ build() {
|
|||
cflags=-fno-strict-aliasing \
|
||||
toolset=gcc \
|
||||
--prefix="${_stagedir}" \
|
||||
-sPYTHON_ROOT=/usr \
|
||||
-sPYTHON_VERSION=2.6 \
|
||||
-sTOOLS=gcc \
|
||||
--layout=tagged \
|
||||
install || return 1
|
||||
|
||||
# build pyste
|
||||
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() {
|
||||
pkgdesc="Free peer-reviewed portable C++ source libraries - Development"
|
||||
depends=("boost-libs=${pkgver}")
|
||||
optdepends=('python: for python bindings')
|
||||
optdepends=('python2: for python bindings')
|
||||
|
||||
install -dm 755 "${pkgdir}"/usr/{include,lib}
|
||||
# headers/source files
|
||||
|
|
Loading…
Reference in a new issue