summaryrefslogtreecommitdiff
path: root/user/z3
diff options
context:
space:
mode:
Diffstat (limited to 'user/z3')
-rw-r--r--user/z3/APKBUILD22
1 files changed, 15 insertions, 7 deletions
diff --git a/user/z3/APKBUILD b/user/z3/APKBUILD
index 1fadaf24b..10e2636a0 100644
--- a/user/z3/APKBUILD
+++ b/user/z3/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=z3
-pkgver=4.8.8
+pkgver=4.8.17
pkgrel=0
pkgdesc="Mathematical theorem prover"
url=" "
arch="all"
license="MIT"
depends=""
-makedepends="gmp-dev python3-dev cmd:which"
+makedepends="cmake gmp-dev python3-dev cmd:which"
subpackages="$pkgname-dev py3-$pkgname:py3:noarch"
source="https://github.com/Z3Prover/z3/archive/z3-$pkgver.tar.gz"
builddir="$srcdir/z3-z3-$pkgver"
@@ -18,10 +18,18 @@ pmmx) options="$options textrels";;
esac
build() {
- PYTHON=python3 ./configure \
- --prefix=/usr \
- --gmp \
- --python
+ cmake \
+ -DCMAKE_INSTALL_PREFIX="/usr" \
+ -DCMAKE_INSTALL_LIBDIR="lib" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DZ3_BUILD_LIBZ3_SHARED=TRUE \
+ -DZ3_USE_LIB_GMP=TRUE \
+ -DZ3_BUILD_PYTHON_BINDINGS=TRUE \
+ -DZ3_INSTALL_PYTHON_BINDINGS=TRUE \
+ -DPYTHON_EXECUTABLE=/usr/bin/python3 \
+ -DZ3_INCLUDE_GIT_DESCRIBE=FALSE \
+ -DZ3_INCLUDE_GIT_HASH=FALSE \
+ -Bbuild .
make -C build
}
@@ -41,4 +49,4 @@ py3() {
mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib/
}
-sha512sums="a6823cadb7cdad11b8f0db1530676c0ec4853886dfb3c4dbc5b798c5dbd445afb0c61675f81cb7f99c1b1734d9cd0ec96a07c68a948da3c25801fc6767fea47f z3-4.8.8.tar.gz"
+sha512sums="95517014ec1798c2552253dd5cde6f955896ab297a4f56294f4bc6f2c5428069015f513c6eb9a090a809cfcf4cb1cc38cc83818f19b5b1051e4e6c06f973747d z3-4.8.17.tar.gz"