mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 01:17:14 +08:00
41 lines
1008 B
Bash
41 lines
1008 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-ppl
|
|
pkgver=0.15.11
|
|
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.cloog.org/"
|
|
license=('GPL')
|
|
depends=('ppl>=0.11')
|
|
options=('!libtool' 'log')
|
|
source=(ftp://gcc.gnu.org/pub/gcc/infrastructure/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('060ae4df6fb8176e021b4d033a6c0b9e')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
./autogen.sh
|
|
./configure --prefix=/usr --includedir=/usr/include/cloog-ppl \
|
|
--with-bits=gmp --with-ppl=/usr
|
|
make
|
|
|
|
if [ -n "${_test}" ]; then
|
|
echo "<<< STARTING TESTS >>>"
|
|
make check
|
|
echo "<<< ENDING TESTS >>>"
|
|
fi
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
make DESTDIR=$pkgdir/ install
|
|
mv $pkgdir/usr/bin/cloog{,-ppl}
|
|
}
|