extra/boost to 1.67.0-6

This commit is contained in:
Kevin Mihelich 2018-08-06 12:45:28 +00:00
parent 9deae981ab
commit 1d8bd22e69

View file

@ -17,7 +17,7 @@ pkgbase=boost
pkgname=('boost-libs' 'boost') pkgname=('boost-libs' 'boost')
pkgver=1.67.0 pkgver=1.67.0
_boostver=${pkgver//./_} _boostver=${pkgver//./_}
pkgrel=5 pkgrel=6
url='http://www.boost.org/' url='http://www.boost.org/'
arch=('x86_64') arch=('x86_64')
license=('custom') license=('custom')
@ -105,7 +105,7 @@ build() {
runtime-link=shared \ runtime-link=shared \
link=shared,static \ link=shared,static \
toolset=gcc \ toolset=gcc \
python=3.6 \ python=3.7 \
cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3" \ cflags="${CPPFLAGS} ${CFLAGS} -fPIC -O3" \
cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=${STD} -fPIC -O3" \ cxxflags="${CPPFLAGS} ${CXXFLAGS} -std=${STD} -fPIC -O3" \
linkflags="${LDFLAGS}" \ linkflags="${LDFLAGS}" \
@ -155,7 +155,7 @@ package_boost-libs() {
# https://github.com/boostorg/python/issues/203#issuecomment-391477685 # https://github.com/boostorg/python/issues/203#issuecomment-391477685
for _lib in python numpy; do for _lib in python numpy; do
ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}{27,}.so ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}{27,}.so
ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}3{6,}.so ln -srL "${pkgdir}"/usr/lib/libboost_${_lib}3{7,}.so
done done
install -Dm644 "${srcdir}/"${pkgbase}_${_boostver}/LICENSE_1_0.txt \ install -Dm644 "${srcdir}/"${pkgbase}_${_boostver}/LICENSE_1_0.txt \