void-packages/srcpkgs/cloog/template

36 lines
888 B
Plaintext
Raw Normal View History

2012-07-01 16:04:07 +02:00
# Template file for 'cloog'
pkgname=cloog
version=0.17.0
revision=3
2012-07-01 16:04:07 +02:00
build_style=gnu-configure
configure_args="--with-isl=system --with-gmp=system"
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
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-gmp-exec-prefix=$XBPS_CROSS_BASE"
fi
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
}
}