cloog-ppl: rebuild for -dbg pkg; cross build support.

This commit is contained in:
Juan RP 2013-02-18 14:20:17 +01:00
parent 185788a347
commit 3e9d9dcb72
2 changed files with 8 additions and 16 deletions

View File

@ -1,11 +1,8 @@
# Template file for 'cloog-devel'.
#
depends="gmp-devel cloog>=$version"
depends="gmp-devel cloog>=${version}"
replaces="cloog-ppl-devel>=0"
short_desc="${short_desc} -- development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install() {
vmove usr/include usr

View File

@ -1,10 +1,10 @@
# Template file for 'cloog'
pkgname=cloog
version=0.17.0
revision=2
revision=3
build_style=gnu-configure
configure_args="--with-isl=system --with-gmp=system"
makedepends="isl-devel"
makedepends="gmp-devel isl-devel"
subpackages="cloog-devel"
replaces="cloog-ppl>=0"
short_desc="Library that generates loops for scanning polyhedra"
@ -13,13 +13,8 @@ homepage="http://www.bastoul.net/cloog/"
license="GPL-2"
distfiles="http://www.bastoul.net/cloog/pages/download/cloog-$version.tar.gz"
checksum=f265f5069830c03d2919a7673c0963495437d6d79a8cbd3474cde2d4e3291e04
long_desc="
CLooG is a free software and library to generate code for scanning Z-polyhedra.
That is, it finds a code (e.g. in C, FORTRAN...) that reaches each integral
point of one or more parameterized polyhedra. CLooG has been originally written
to solve the code generation problem for optimizing compilers based on the
polytope model. Nevertheless it is used now in various area e.g. to build control
automata for high-level synthesis or to find the best polynomial approximation of
a function. CLooG may help in any situation where scanning polyhedra matters.
While the user has full control on generated code quality, CLooG is designed to
avoid control overhead and to produce a very effective code."
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
configure_args="${configure_args} --with-gmp-exec-prefix=/usr/$XBPS_CROSS_TRIPLET"
crossmakedepends="${makedepends}"
fi