# $Id$ PNAME="cloog" PVER="0.18.0" PBUILD="r6" PCAT="dev-libs" DESCRIPTION="CLooG-ISL is a library to generate code for scanning Z-polyhedra." HOMEPAGE="http://cloog.org/" # do not depend on glibc, as it depends ob libstdc++ and this wants mpc # as SRCDEPEND -> this may generate loops DEPEND=">= dev-libs/gmp-5.1 >= dev-libs/isl-0.12" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild multilib msetfeature "!check" # one check failes - fixme SRC_URI=( http://www.bastoul.net/cloog/pages/download/count.php3?url=./${SRCFILE} ftp://gcc.gnu.org/pub/gcc/infrastructure/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-isl-0.11.2.patch ) UP2DATE="updatecmd ftp://gcc.gnu.org/pub/gcc/infrastructure/ | grep ${PNAME} | lasttarball gz" src_prepare() { munpack ${SRCFILE} || die # fix broken testsuite with isl >= 0.11.2 mpatch ${PNAME}-${PVER}-isl-0.11.2.patch || die } src_compile() { mconfigure --enable-shared --with-gmp --with-isl=system || die mmake || die }