mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 00:30:06 +02:00
Added gnulib recipe.
Just copies binary and related files to $dataDir/gnulib and symlinks binary to $binDir/gnulib_tool
This commit is contained in:
47
dev-libs/gnulib/gnulib-2013_12_17.recipe
Normal file
47
dev-libs/gnulib/gnulib-2013_12_17.recipe
Normal file
@@ -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
|
||||
}
|
||||
@@ -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."
|
||||
Reference in New Issue
Block a user