aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Bellamy <dunk@denkimushi.com>2020-09-14 20:53:55 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-09-14 20:53:55 +0000
commit157cc20660b07dff6c9043a53fd1c15f5a950019 (patch)
treeafca196340f72b51ad4eecb29d3c7d4efbd5ec51
parent051ae9ea8360c7ee4df2d0c611909e4bd4775848 (diff)
downloadaports-157cc20660b07dff6c9043a53fd1c15f5a950019.tar.gz
aports-157cc20660b07dff6c9043a53fd1c15f5a950019.tar.bz2
aports-157cc20660b07dff6c9043a53fd1c15f5a950019.tar.xz
community/qhull: add nonreentrant subpackage for deprecated library
-rw-r--r--community/qhull/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/community/qhull/APKBUILD b/community/qhull/APKBUILD
index 72d7a965ac..e33627a489 100644
--- a/community/qhull/APKBUILD
+++ b/community/qhull/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Holger Jaekel <holger.jaekel@gmx.de>
pkgname=qhull
pkgver=2020.2
-pkgrel=0
+pkgrel=1
pkgdesc="Calculate convex hulls and related structures"
url="https://www.qhull.org/"
arch="all"
@@ -11,6 +11,7 @@ makedepends="cmake"
subpackages="
$pkgname-static
$pkgname-dev
+ $pkgname-nonreentrant
$pkgname-doc
"
source="qhull-$pkgver.tar.gz::https://github.com/qhull/qhull/archive/$pkgver.tar.gz"
@@ -28,7 +29,7 @@ build() {
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCMAKE_SKIP_INSTALL_RPATH=YES \
$CMAKE_CROSSOPTS
- make -C build
+ make -C build all libqhull
}
check() {
@@ -37,8 +38,13 @@ check() {
package() {
make -C build DESTDIR="$pkgdir" install
+ mv build/libqhull.so* "$pkgdir"/usr/lib/
install -Dm644 $builddir/COPYING.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
+nonreentrant() {
+ amove usr/lib/libqhull.so.*
+}
+
sha512sums="88f50c2a968f56deec61772490617cc877b0ca2d804954ade08297b9bab826076db6b960d6f1feb21c6851e5328cb11c6dd565666517fa78a3d65b901848ff36 qhull-2020.2.tar.gz"