2012-07-01 16:04:07 +02:00
|
|
|
# Template file for 'cloog'
|
|
|
|
pkgname=cloog
|
2015-02-06 23:21:03 +01:00
|
|
|
version=0.18.3
|
2014-09-08 10:54:07 +02:00
|
|
|
revision=1
|
2014-05-19 10:17:35 +02:00
|
|
|
bootstrap=yes
|
2012-07-01 16:04:07 +02:00
|
|
|
build_style=gnu-configure
|
2014-05-19 09:30:37 +02:00
|
|
|
configure_args="--with-isl=system --with-gmp=system --with-gmp-exec-prefix=${XBPS_CROSS_BASE}"
|
|
|
|
makedepends="isl-devel"
|
2012-07-01 16:04:07 +02:00
|
|
|
short_desc="Library that generates loops for scanning polyhedra"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-07-01 16:04:07 +02:00
|
|
|
homepage="http://www.bastoul.net/cloog/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://www.bastoul.net/cloog/pages/download/cloog-$version.tar.gz"
|
2015-02-06 23:21:03 +01:00
|
|
|
checksum=460c6c740acb8cdfbfbb387156b627cf731b3837605f2ec0001d079d89c69734
|
2013-04-11 09:52:59 +02:00
|
|
|
|
2014-05-19 10:23:31 +02:00
|
|
|
if [ -z "$CHROOT_READY" ]; then
|
|
|
|
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
|
|
|
|
LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
|
|
|
|
fi
|
|
|
|
|
2013-04-11 09:52:59 +02:00
|
|
|
cloog-devel_package() {
|
2014-05-19 13:29:55 +02:00
|
|
|
depends="gmp-devel isl-devel cloog>=${version}_${revision}"
|
2013-04-11 09:52:59 +02:00
|
|
|
replaces="cloog-ppl-devel>=0"
|
2014-05-19 13:29:55 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-11 09:52:59 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-05-19 09:30:37 +02:00
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
2013-04-11 09:52:59 +02:00
|
|
|
}
|
|
|
|
}
|