blob: 147840b0da73c7ff55ea0718328babbb2132446d (
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
|
# 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"
|