# $Id$ PNAME="cloog" PVER="0.18.2" PBUILD="r2" 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-6.0 >= dev-libs/isl-0.12" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude 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} ) UP2DATE="updatecmd 'http://www.bastoul.net/cloog/pages/download/?C=M;O=A' | grep ${PNAME}- | lasttarball gz" src_prepare() { munpack ${SRCFILE} || die # remove invalid files from Makefile all-abis sed -i '/cmake/d' Makefile.{in,am} || die } src_compile() { mconfigure --enable-shared --with-gmp --with-isl=system || die mmake || die }