Commit c95e18c9 authored by Jakub Jirutka's avatar Jakub Jirutka
Browse files

testing/creduce: new abuild

http://embed.cs.utah.edu/creduce/
A C/C++ program reducer
parent 7feadd90
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment