core/cloog/PKGBUILD

30 lines
677 B
Bash
Raw Normal View History

pkgname=cloog
pkgver=0.18.4
pkgrel=1
pkgdesc="Library that generates loops for scanning polyhedra"
2012-11-14 04:07:01 +08:00
arch=('x86_64')
url="http://www.bastoul.net/cloog/"
license=('GPL')
depends=('isl')
source=(http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz)
md5sums=('e531f725244856c92c9bba009ff44faf')
build() {
2012-01-12 08:46:59 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2013-04-25 06:22:36 +08:00
./configure --prefix=/usr --with-isl=system
make
2012-01-12 08:46:59 +08:00
}
2012-01-12 08:46:59 +08:00
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
# There are certain race conditions on running the tests, so we restrict
# it to one job (one CPU core).
make -j1 check
}
package() {
2012-01-12 08:46:59 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" install
}