extra/boost to 1.61.0-2

This commit is contained in:
Kevin Mihelich 2016-09-10 17:01:50 +00:00
parent 7d0da22e9c
commit 52c85811b1

View file

@ -14,23 +14,15 @@
pkgbase=boost
pkgname=('boost-libs' 'boost')
pkgver=1.60.0
pkgver=1.61.0
_boostver=${pkgver//./_}
pkgrel=5
pkgrel=2
url='http://www.boost.org/'
arch=('i686' 'x86_64')
license=('custom')
makedepends=('icu>=55.1' 'python>=3.5' 'python<3.6' 'python2' 'bzip2' 'zlib' 'openmpi')
source=(https://downloads.sourceforge.net/project/${pkgbase}/${pkgbase}/${pkgver}/${pkgbase}_${_boostver}.tar.bz2
cuda_float128.patch::"https://github.com/boostorg/config/commit/a332112317450457c715675686386ec81214b863.patch")
sha1sums=('7f56ab507d3258610391b47fef6b11635861175a'
'bdc6486e0d90368bbfd872fed8ee3d3c73483933')
prepare() {
cd ${pkgbase}_${_boostver}
# fix https://svn.boost.org/trac/boost/ticket/11852
patch -p2 -i ../cuda_float128.patch
}
source=(https://downloads.sourceforge.net/project/${pkgbase}/${pkgbase}/${pkgver}/${pkgbase}_${_boostver}.tar.bz2)
sha1sums=('f84b1a1ce764108ec3c2b7bd7704cf8dfd3c9d01')
build() {
CFLAGS=`echo $CFLAGS | sed -e 's/armv6/armv6k/'` && CXXFLAGS="$CFLAGS"
@ -71,7 +63,9 @@ build() {
link=shared,static \
toolset=gcc \
python=2.7 \
cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3" linkflags="${LDFLAGS}" \
cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3" \
cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=c++14 -fPIC -O3" \
linkflags="${LDFLAGS}" \
--layout=system \
--prefix="${_stagedir}" \
${JOBS} \
@ -82,8 +76,7 @@ package_boost() {
pkgdesc='Free peer-reviewed portable C++ source libraries - development headers'
depends=("boost-libs=${pkgver}")
optdepends=('python: for python bindings'
'python2: for python2 bindings'
'boost-build: to use boost jam for building your project.')
'python2: for python2 bindings')
options=('staticlibs')
install -dm755 "${pkgdir}"/usr