blob: 297ec1e4fdf343808c7575357ffcd36fdc6e2c25 (
plain)
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
41
42
43
44
45
46
47
48
49
|
# Maintainer: Deian Stefan
_pkgname=boolector
pkgname=boolector-git
pkgver=r10285.6fce0ac3
pkgrel=1
pkgdesc="A Satisfiability Modulo Theories (SMT) solver for the theories of fixed-size bit-vectors, arrays and uninterpreted functions"
arch=('any')
url="https://github.com/Boolector/boolector"
license=('MIT')
depends=('btor2tools-git')
makedepends=()
provides=(boolector)
conflicts=(boolector)
source=("git://github.com/Boolector/boolector.git")
sha256sums=('SKIP')
sha512sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd $srcdir
}
build() {
cd "$srcdir/boolector"
# Download and build Lingeling
./contrib/setup-lingeling.sh
CFLAGS="" ./configure.sh --shared
cd build
make
}
package() {
mkdir -p "$pkgdir/usr/bin/"
mkdir -p "$pkgdir/usr/lib/"
mkdir -p "$pkgdir/usr/include/boolector"
install -m755 boolector/build/bin/boolector "$pkgdir/usr/bin/"
install -m755 boolector/build/lib/*.so "$pkgdir/usr/lib/"
install -m644 boolector/src/*.h "$pkgdir/usr/include/boolector/"
}
|