31 lines
921 B
Text
31 lines
921 B
Text
# Template file for 'cloog'
|
|
pkgname=cloog
|
|
version=0.18.3
|
|
revision=1
|
|
bootstrap=yes
|
|
build_style=gnu-configure
|
|
configure_args="--with-isl=system --with-gmp=system --with-gmp-exec-prefix=${XBPS_CROSS_BASE}"
|
|
makedepends="isl-devel"
|
|
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=460c6c740acb8cdfbfbb387156b627cf731b3837605f2ec0001d079d89c69734
|
|
|
|
if [ -z "$CHROOT_READY" ]; then
|
|
CFLAGS="-I${XBPS_MASTERDIR}/usr/include"
|
|
LDFLAGS="-L${XBPS_MASTERDIR}/usr/lib"
|
|
fi
|
|
|
|
cloog-devel_package() {
|
|
depends="gmp-devel isl-devel cloog>=${version}_${revision}"
|
|
replaces="cloog-ppl-devel>=0"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|