diff options
-rw-r--r-- | testing/creduce/APKBUILD | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/testing/creduce/APKBUILD b/testing/creduce/APKBUILD index a501f54ff2..88b739473f 100644 --- a/testing/creduce/APKBUILD +++ b/testing/creduce/APKBUILD @@ -1,25 +1,21 @@ # Contributor: Jakub Jirutka <jakub@jirutka.cz> # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=creduce -pkgver=2.8.0 +pkgver=2.10.0 pkgrel=0 pkgdesc="A C/C++ program reducer" -url="http://embed.cs.utah.edu/creduce/" -arch="" +url="https://embed.cs.utah.edu/creduce/" +arch="all" license="custom" # util-linux provides lscpu -depends="clang6 indent perl perl-exporter-lite perl-file-which +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="clang6-dev clang-static flex llvm6-dev zlib-dev" -source="http://embed.cs.utah.edu/creduce/$pkgname-$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" +makedepends="clang-dev clang-static flex llvm-dev zlib-dev" +source="https://embed.cs.utah.edu/creduce/$pkgname-$pkgver.tar.gz" build() { - cd "$builddir" - - export LLVM_CONFIG=/usr/lib/llvm6/bin/llvm-config - CC=clang CXX=clang++ ./configure \ + ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ @@ -28,9 +24,12 @@ build() { make } +check() { + make check +} + package() { - cd "$builddir" make DESTDIR="$pkgdir" install } -sha512sums="9d616dc421d0e932656ab0220ebfe1a4f20a08d46bf4ee004ef96a693ff37caeadf96c769262574a9789ac52c2bb4586e2b8602f7d44b627229b8eb45f5af0ea creduce-2.8.0.tar.gz" +sha512sums="f2f2cc498cbf78331ea62e533579c84042ddc1ad8eb146adeae6b3a833e0ea4bb26a4ab5f1f61a30500a5a0c9c89cc1d4e4c8547aa9e4a14d3b5d744aeb4f6a7 creduce-2.10.0.tar.gz" |