aboutsummaryrefslogtreecommitdiffstats
path: root/testing/creduce
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-06-12 16:59:15 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-06-12 17:43:06 +0200
commitc95e18c97c441b3cb5a5d2c4a7a4ef207587d425 (patch)
tree2eb31de00fc29912302494b1c713bade5257e5f2 /testing/creduce
parent7feadd908280effbe37152d7f5ecd7a0b59d030b (diff)
downloadaports-c95e18c97c441b3cb5a5d2c4a7a4ef207587d425.tar.bz2
aports-c95e18c97c441b3cb5a5d2c4a7a4ef207587d425.tar.xz
testing/creduce: new abuild
http://embed.cs.utah.edu/creduce/ A C/C++ program reducer
Diffstat (limited to 'testing/creduce')
-rw-r--r--testing/creduce/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/creduce/APKBUILD b/testing/creduce/APKBUILD
new file mode 100644
index 0000000000..147840b0da
--- /dev/null
+++ b/testing/creduce/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Jakub Jirutka <jakub@jirutka.cz>
+# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
+pkgname=creduce
+pkgver=2.5.0
+pkgrel=0
+pkgdesc="A C/C++ program reducer"
+url="http://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>=3.8.0 flex llvm-dev>=3.8.0 zlib-dev"
+source="http://embed.cs.utah.edu/creduce/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/$pkgname \
+ || return 1
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="6080accb71222c642d81f661162a35c4 creduce-2.5.0.tar.gz"
+sha256sums="2dcd784e1d27df60f4ea1d92c4c556c02da4152db353d544dce8b7813fa443e4 creduce-2.5.0.tar.gz"
+sha512sums="5292381ddf5e2b061bcfb1a3f52cd25cab3ab5985faade7c779c41be19b5cf7309fbcfff1428f026bfcee5da7c6f898b0b8fa48d03ef83acd64000c3ece2189d creduce-2.5.0.tar.gz"