aboutsummaryrefslogtreecommitdiffstats
path: root/testing/creduce/APKBUILD
blob: 88b739473f858afdbb015bcd88048ab0f641b331 (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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=creduce
pkgver=2.10.0
pkgrel=0
pkgdesc="A C/C++ program reducer"
url="https://embed.cs.utah.edu/creduce/"
arch="all"
license="custom"
# util-linux provides lscpu
depends="clang indent perl perl-exporter-lite perl-file-which
	perl-getopt-tabular perl-regexp-common perl-sys-cpu perl-term-readkey
	util-linux"
makedepends="clang-dev clang-static flex llvm-dev zlib-dev"
source="https://embed.cs.utah.edu/creduce/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libexecdir=/usr/lib/$pkgname

	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="f2f2cc498cbf78331ea62e533579c84042ddc1ad8eb146adeae6b3a833e0ea4bb26a4ab5f1f61a30500a5a0c9c89cc1d4e4c8547aa9e4a14d3b5d744aeb4f6a7  creduce-2.10.0.tar.gz"