From 45bfc9b2c7403f4af748e4972d1138f606b0ffa1 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 17 Nov 2010 14:55:39 +0100 Subject: [PATCH] cloog-ppl: add metafile support Signed-off-by: Stephan Raue --- packages/toolchain/math/cloog-ppl/build | 6 +----- packages/toolchain/math/cloog-ppl/meta | 14 ++++++++++++++ ...gure.diff => cloog-ppl-0.15.10-configure.patch} | 0 packages/toolchain/math/cloog-ppl/url | 1 - 4 files changed, 15 insertions(+), 6 deletions(-) create mode 100644 packages/toolchain/math/cloog-ppl/meta rename packages/toolchain/math/cloog-ppl/patches/{cloog-ppl-0.15.10-configure.diff => cloog-ppl-0.15.10-configure.patch} (100%) delete mode 100644 packages/toolchain/math/cloog-ppl/url diff --git a/packages/toolchain/math/cloog-ppl/build b/packages/toolchain/math/cloog-ppl/build index a8bb36ae72..c62dd6bbcb 100755 --- a/packages/toolchain/math/cloog-ppl/build +++ b/packages/toolchain/math/cloog-ppl/build @@ -2,15 +2,11 @@ . config/options $1 -$SCRIPTS/build gmp -$SCRIPTS/build ppl - setup_toolchain host cd $BUILD/$1* -mkdir -p objdir -cd objdir +mkdir -p objdir && cd objdir ../configure --host=$HOST_NAME \ --build=$HOST_NAME \ diff --git a/packages/toolchain/math/cloog-ppl/meta b/packages/toolchain/math/cloog-ppl/meta new file mode 100644 index 0000000000..496eeed10f --- /dev/null +++ b/packages/toolchain/math/cloog-ppl/meta @@ -0,0 +1,14 @@ +PKG_NAME="cloog-ppl" +PKG_VERSION="0.15.10" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://www.cloog.org/" +PKG_URL="ftp://gcc.gnu.org/pub/gcc/infrastructure/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="ccache gmp ppl" +PKG_PRIORITY="optional" +PKG_SECTION="toolchain/math" +PKG_SHORTDESC="cloog-ppl: Code Generator in the Polyhedral Model's Home" +PKG_LONGDESC="CLooG-PPL is a library to generate code for scanning Z-polyhedra. In other words, it finds code that reaches each integral point of one or more parameterized polyhedra. GCC links with this library in order to enable the new loop generation code known as Graphite." +PKG_IS_ADDON="no" diff --git a/packages/toolchain/math/cloog-ppl/patches/cloog-ppl-0.15.10-configure.diff b/packages/toolchain/math/cloog-ppl/patches/cloog-ppl-0.15.10-configure.patch similarity index 100% rename from packages/toolchain/math/cloog-ppl/patches/cloog-ppl-0.15.10-configure.diff rename to packages/toolchain/math/cloog-ppl/patches/cloog-ppl-0.15.10-configure.patch diff --git a/packages/toolchain/math/cloog-ppl/url b/packages/toolchain/math/cloog-ppl/url deleted file mode 100644 index da00553641..0000000000 --- a/packages/toolchain/math/cloog-ppl/url +++ /dev/null @@ -1 +0,0 @@ -ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tar.gz