2012-07-01 16:04:07 +02:00
|
|
|
# Template file for 'cloog'
|
|
|
|
pkgname=cloog
|
|
|
|
version=0.17.0
|
2013-02-18 14:20:17 +01:00
|
|
|
revision=3
|
2012-07-01 16:04:07 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-isl=system --with-gmp=system"
|
2013-02-18 14:20:17 +01:00
|
|
|
makedepends="gmp-devel isl-devel"
|
2012-07-01 16:04:07 +02:00
|
|
|
short_desc="Library that generates loops for scanning polyhedra"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.bastoul.net/cloog/"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://www.bastoul.net/cloog/pages/download/cloog-$version.tar.gz"
|
|
|
|
checksum=f265f5069830c03d2919a7673c0963495437d6d79a8cbd3474cde2d4e3291e04
|
2013-02-18 14:20:17 +01:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-11 09:52:59 +02:00
|
|
|
configure_args+=" --with-gmp-exec-prefix=$XBPS_CROSS_BASE"
|
2013-02-18 14:20:17 +01:00
|
|
|
fi
|
2013-04-11 09:52:59 +02:00
|
|
|
|
|
|
|
cloog-devel_package() {
|
|
|
|
depends="gmp-devel cloog>=${version}"
|
|
|
|
replaces="cloog-ppl-devel>=0"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
cloog_package() {
|
|
|
|
replaces="cloog-ppl>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|