From 3e9d9dcb7298d7970a855499d6b4d3d4f56c47db Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 18 Feb 2013 14:20:17 +0100 Subject: [PATCH] cloog-ppl: rebuild for -dbg pkg; cross build support. --- srcpkgs/cloog/cloog-devel.template | 5 +---- srcpkgs/cloog/template | 19 +++++++------------ 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/srcpkgs/cloog/cloog-devel.template b/srcpkgs/cloog/cloog-devel.template index 8c517c54701..39710c28090 100644 --- a/srcpkgs/cloog/cloog-devel.template +++ b/srcpkgs/cloog/cloog-devel.template @@ -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 diff --git a/srcpkgs/cloog/template b/srcpkgs/cloog/template index 44f4a3b8eb2..272cb6dd3ea 100644 --- a/srcpkgs/cloog/template +++ b/srcpkgs/cloog/template @@ -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