mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 03:47:14 +08:00
37 lines
958 B
Bash
37 lines
958 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=cloog
|
|
pkgver=0.16.2
|
|
pkgrel=1
|
|
# dash the next line if you want to skip the tests
|
|
_test=1
|
|
pkgdesc="Library that generates loops for scanning polyhedra"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.bastoul.net/cloog/"
|
|
license=('GPL')
|
|
depends=('isl' 'gmp')
|
|
conflicts=('cloog-ppl<0.15.11')
|
|
options=('!libtool' 'log')
|
|
source=(http://www.bastoul.net/cloog/pages/download/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('83877caaa879c7160063138bb18348e7')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure --prefix=/usr --with-isl=system --with-gmp=system
|
|
make
|
|
|
|
if [ -n "${_test}" ]; then
|
|
echo "<<< STARTING TESTS >>>"
|
|
make check
|
|
echo "<<< ENDING TESTS >>>"
|
|
fi
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir/" install
|
|
} |