2012-07-01 14:04:07 +00:00
|
|
|
# Template file for 'cloog'
|
|
|
|
pkgname=cloog
|
|
|
|
version=0.17.0
|
2013-02-18 13:20:17 +00:00
|
|
|
revision=3
|
2012-07-01 14:04:07 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-isl=system --with-gmp=system"
|
2013-02-18 13:20:17 +00:00
|
|
|
makedepends="gmp-devel isl-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
replaces="cloog-ppl>=0"
|
2012-07-01 14:04:07 +00: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 13:20:17 +00:00
|
|
|
|
2013-04-08 23:49:27 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-11 07:52:59 +00:00
|
|
|
configure_args+=" --with-gmp-exec-prefix=$XBPS_CROSS_BASE"
|
2013-02-18 13:20:17 +00:00
|
|
|
fi
|
2013-04-11 07:52:59 +00: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"
|
|
|
|
}
|
|
|
|
}
|