# Template file for 'cloog-ppl'
pkgname=cloog-ppl
version=0.15.9
distfiles="ftp://gcc.gnu.org/pub/gcc/infrastructure/${pkgname}-${version}.tar.gz"
build_style=gnu_configure
configure_args="--with-bits=gmp --with-ppl=${XBPS_MASTERDIR}/usr"
short_desc="The Chunky Loop Generator"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8c54d4bca186cb66671e07540aec276d5f8ad013ae8867294576b431cbb142a5
long_desc="
 CLooG is a software which generates loops for scanning Z-polyhedra.That is,
 CLooG finds the code or pseudo-code where each integral point of one or more
 parametrized polyhedron or parametrized polyhedra union is reached. CLooG is
 designed to avoid control overhead and to produce a very efficient code."

base_chroot=yes
subpackages="$pkgname-devel" 
Add_dependency run glibc
Add_dependency run gmp
Add_dependency run ppl
Add_dependency build gmp-devel
Add_dependency build ppl-devel

pre_configure()
{
	sed -i "/ppl_minor_version=/s#10#11#" ${wrksrc}/configure
}
