mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 22:54:38 +08:00
44 lines
1010 B
Bash
44 lines
1010 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=cloog
|
|
pkgver=0.18.0
|
|
pkgrel=2
|
|
pkgdesc="Library that generates loops for scanning polyhedra"
|
|
arch=('x86_64')
|
|
url="http://www.bastoul.net/cloog/"
|
|
license=('GPL')
|
|
depends=('isl' 'gmp')
|
|
options=('!libtool')
|
|
source=(http://www.bastoul.net/cloog/pages/download/${pkgname}-${pkgver}.tar.gz
|
|
cloog-0.18.0-isl-0.11.2.patch)
|
|
md5sums=('be78a47bd82523250eb3e91646db5b3d'
|
|
'1bec9a7f1c3e9e0f3f10f23898f7148d')
|
|
|
|
prepare() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
# test-suite fix - commit fc8b0627
|
|
# needed because of some changes in the latest version of isl
|
|
patch -p1 -i $srcdir/cloog-0.18.0-isl-0.11.2.patch
|
|
}
|
|
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --with-isl=system
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}/" install
|
|
}
|