mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
56 lines
1.7 KiB
Bash
56 lines
1.7 KiB
Bash
SUMMARY="A library of common routines to be shared at the source level"
|
|
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.
|
|
"
|
|
HOMEPAGE="http://www.gnu.org/software/gnulib"
|
|
COPYRIGHT="1985-2013 Free Software Foundation."
|
|
LICENSE="GNULIB"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/coreutils/gnulib/archive/6cc32c63e80bc1a30c521b2f07f2b54909b59892.tar.gz"
|
|
CHECKSUM_SHA256="fa9f4b8756b303e45703b7b62f552ea02d97fe4b38c197fa115f4133bb777ca7"
|
|
SOURCE_DIR="gnulib-6cc32c63e80bc1a30c521b2f07f2b54909b59892"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
gnulib = $portVersion
|
|
cmd:gnulib_tool$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
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
|
|
}
|