From 78cbf32a67505cd78dd019604aaed9539ae1069d Mon Sep 17 00:00:00 2001 From: Theodore Kokkoris Date: Tue, 24 Dec 2013 15:05:56 +0000 Subject: [PATCH] Added gnulib recipe. Just copies binary and related files to $dataDir/gnulib and symlinks binary to $binDir/gnulib_tool --- dev-libs/gnulib/gnulib-2013_12_17.recipe | 47 ++++++++++++++++++++++++ dev-libs/gnulib/gnulib-9999.recipe | 24 ------------ 2 files changed, 47 insertions(+), 24 deletions(-) create mode 100644 dev-libs/gnulib/gnulib-2013_12_17.recipe delete mode 100644 dev-libs/gnulib/gnulib-9999.recipe diff --git a/dev-libs/gnulib/gnulib-2013_12_17.recipe b/dev-libs/gnulib/gnulib-2013_12_17.recipe new file mode 100644 index 000000000..5a206279a --- /dev/null +++ b/dev-libs/gnulib/gnulib-2013_12_17.recipe @@ -0,0 +1,47 @@ +DESCRIPTION="Gnulib is a source code library that provides basic functionality to programs and libraries. +Many software packages make use of Gnulib to avoid reinventing the portability wheel. +Gnulib is intended to be the canonical source for most of the important “portability” and/or common files for software projects. +These are files intended to be shared at the source level; Gnulib is not a typical library meant to be installed and linked against. Thus, unlike most projects, Gnulib does not normally generate a source tarball distribution; instead, developers grab modules directly from the source repository." +SUMMARY="Gnulib is a library of common routines intended to be shared at the source level" +HOMEPAGE="http://www.gnu.org/software/gnulib" +SRC_URI="git+git://git.savannah.gnu.org/gnulib.git" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 ?x86" +LICENSE="GNULIB" +COPYRIGHT="1985-2013 Free Software Foundation." + +PROVIDES=" + gnulib = $portVersion + cmd:gnulib_tool$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku >= $haikuVersion + " + +BUILD_REQUIRES="" # No build, no requirements + +BUILD_PREREQUIRES="" # No build, no requirements + +BUILD() +{ + # Nothing to build + exit 0 +} + +INSTALL() +{ + # Try to install gnulib-tool + + mkdir -p $dataDir/gnulib $binDir + + cp gnulib-tool $dataDir/gnulib/gnulib_tool # Fix binary name in help + cp -R check-copyright check-module posix-modules build-aux config doc lib m4 modules tests top $dataDir/gnulib + ln -s $dataDir/gnulib/gnulib_tool $binDir/gnulib_tool +} + +TEST() +{ + make check +} diff --git a/dev-libs/gnulib/gnulib-9999.recipe b/dev-libs/gnulib/gnulib-9999.recipe deleted file mode 100644 index 35cbc5db5..000000000 --- a/dev-libs/gnulib/gnulib-9999.recipe +++ /dev/null @@ -1,24 +0,0 @@ -DESCRIPTION="Gnulib is a library of common routines intended to be shared at the source level" -HOMEPAGE="http://www.gnu.org/software/gnulib" -SRC_URI="git+git://git.savannah.gnu.org/gnulib.git" -REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" -#CHECKSUM_MD5="" -BUILD() -{ - echo "gnulib isn't meant to be built." -} - -INSTALL() -{ - echo "gnulib isn't meant to be installed." -} - -TEST() -{ - make check -} - -LICENSE="GNULIB" -COPYRIGHT="1985-2011 Free Software Foundation."