mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/boost to 1.80.0-2
This commit is contained in:
parent
92b467486d
commit
4c6d237bcc
1 changed files with 6 additions and 6 deletions
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
pkgname=('boost' 'boost-libs')
|
pkgname=('boost' 'boost-libs')
|
||||||
pkgver=1.80.0
|
pkgver=1.80.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
_srcname=boost_${pkgver//./_}
|
_srcname=boost_${pkgver//./_}
|
||||||
pkgdesc="Free peer-reviewed portable C++ source libraries"
|
pkgdesc="Free peer-reviewed portable C++ source libraries"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -82,6 +82,11 @@ package_boost() {
|
||||||
cp -a fakeinstall/lib/cmake "$pkgdir"/usr/lib/
|
cp -a fakeinstall/lib/cmake "$pkgdir"/usr/lib/
|
||||||
cp -a fakeinstall/{bin,include,share} "$pkgdir"/usr/
|
cp -a fakeinstall/{bin,include,share} "$pkgdir"/usr/
|
||||||
|
|
||||||
|
# https://github.com/boostorg/python/issues/203#issuecomment-391477685
|
||||||
|
for _lib in python numpy; do
|
||||||
|
ln -srL "$pkgdir"/usr/lib/libboost_${_lib}3{10,}.so
|
||||||
|
done
|
||||||
|
|
||||||
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt
|
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,11 +120,6 @@ package_boost-libs() {
|
||||||
cp fakeinstall/lib/boost-python3.10/mpi.so \
|
cp fakeinstall/lib/boost-python3.10/mpi.so \
|
||||||
"$pkgdir"/usr/lib/python3.10/site-packages/boost/mpi.so
|
"$pkgdir"/usr/lib/python3.10/site-packages/boost/mpi.so
|
||||||
|
|
||||||
# https://github.com/boostorg/python/issues/203#issuecomment-391477685
|
|
||||||
for _lib in python numpy; do
|
|
||||||
ln -srL "$pkgdir"/usr/lib/libboost_${_lib}3{10,}.so
|
|
||||||
done
|
|
||||||
|
|
||||||
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt
|
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" $_srcname/LICENSE_1_0.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue