blob: 5e72cbe9c89c46f2fcb85718a2f9d9fbe3d07157 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=z3
pkgver=4.8.5
pkgrel=0
pkgdesc="Mathematical theorem prover"
url=" "
arch="all"
license="MIT"
depends=""
makedepends="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"
build() {
PYTHON=python3 ./configure \
--prefix=/usr \
--gmp \
--python
make -C build
}
check() {
make -C build test-z3
build/test-z3 /a
}
package() {
make -C build DESTDIR="$pkgdir" install
}
py3() {
pkgdesc="$pkgdesc (Python bindings)"
depends="python3"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib/
}
sha512sums="ca36e1a0332bd473a64f41dfdb31656fb3486178473e4fd4934dccce109a84c9686c08f94998df74bacb588eb12ea5db25dc17a564ee76f82fd2559349697309 Z3-4.8.5.tar.gz"
|