mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/boost to 1.61.0-2
This commit is contained in:
parent
7d0da22e9c
commit
52c85811b1
1 changed files with 8 additions and 15 deletions
|
@ -14,23 +14,15 @@
|
||||||
|
|
||||||
pkgbase=boost
|
pkgbase=boost
|
||||||
pkgname=('boost-libs' 'boost')
|
pkgname=('boost-libs' 'boost')
|
||||||
pkgver=1.60.0
|
pkgver=1.61.0
|
||||||
_boostver=${pkgver//./_}
|
_boostver=${pkgver//./_}
|
||||||
pkgrel=5
|
pkgrel=2
|
||||||
url='http://www.boost.org/'
|
url='http://www.boost.org/'
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('custom')
|
license=('custom')
|
||||||
makedepends=('icu>=55.1' 'python>=3.5' 'python<3.6' 'python2' 'bzip2' 'zlib' 'openmpi')
|
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
|
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=('f84b1a1ce764108ec3c2b7bd7704cf8dfd3c9d01')
|
||||||
sha1sums=('7f56ab507d3258610391b47fef6b11635861175a'
|
|
||||||
'bdc6486e0d90368bbfd872fed8ee3d3c73483933')
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd ${pkgbase}_${_boostver}
|
|
||||||
# fix https://svn.boost.org/trac/boost/ticket/11852
|
|
||||||
patch -p2 -i ../cuda_float128.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
CFLAGS=`echo $CFLAGS | sed -e 's/armv6/armv6k/'` && CXXFLAGS="$CFLAGS"
|
CFLAGS=`echo $CFLAGS | sed -e 's/armv6/armv6k/'` && CXXFLAGS="$CFLAGS"
|
||||||
|
@ -71,7 +63,9 @@ build() {
|
||||||
link=shared,static \
|
link=shared,static \
|
||||||
toolset=gcc \
|
toolset=gcc \
|
||||||
python=2.7 \
|
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 \
|
--layout=system \
|
||||||
--prefix="${_stagedir}" \
|
--prefix="${_stagedir}" \
|
||||||
${JOBS} \
|
${JOBS} \
|
||||||
|
@ -82,8 +76,7 @@ package_boost() {
|
||||||
pkgdesc='Free peer-reviewed portable C++ source libraries - development headers'
|
pkgdesc='Free peer-reviewed portable C++ source libraries - development headers'
|
||||||
depends=("boost-libs=${pkgver}")
|
depends=("boost-libs=${pkgver}")
|
||||||
optdepends=('python: for python bindings'
|
optdepends=('python: for python bindings'
|
||||||
'python2: for python2 bindings'
|
'python2: for python2 bindings')
|
||||||
'boost-build: to use boost jam for building your project.')
|
|
||||||
options=('staticlibs')
|
options=('staticlibs')
|
||||||
|
|
||||||
install -dm755 "${pkgdir}"/usr
|
install -dm755 "${pkgdir}"/usr
|
||||||
|
|
Loading…
Reference in a new issue