findutils: add recipe for 4.4.2

This commit is contained in:
Jerome Duval
2014-02-21 22:17:14 +00:00
parent 3d65803efd
commit 44bef8ba85

View File

@@ -1,32 +1,54 @@
DESCRIPTION="GNU utilities for finding files"
HOMEPAGE="http://www.gnu.org/software/findutils/"
SRC_URI="http://mirrors.usc.edu/pub/gnu/findutils/findutils-4.4.2.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
SUMMARY="Basic directory searching utilities"
DESCRIPTION="
GNU Findutils are typically used in conjunction with other programs to \
provide modular and powerful directory search and file locating \
capabilities to other commands.
The tools supplied with this package are:
find - search for files in a directory hierarchy
locate - list files in databases that match a pattern
updatedb - update a file name database
xargs - build and execute command lines from a standard input.
"
HOMEPAGE="http://www.gnu.org/software/findutils"
COPYRIGHT="1994-2011 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
SRC_URI="http://ftp.gnu.org/gnu/findutils/findutils-4.4.2.tar.gz"
CHECKSUM_MD5="351cc4adb07d54877fa15f75fb77d39f"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
findutils = $portVersion compat >= 4
cmd:find = $portVersion compat >= 4
cmd:locate = $portVersion compat >= 4
cmd:updatedb = $portVersion compat >= 4
cmd:xargs = $portVersion compat >= 4
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:ld
cmd:make
"
defineDebugInfoPackage findutils \
$binDir/find \
$binDir/locate \
$binDir/xargs
BUILD()
{
cd findutils-4.4.2
./import-gnulib.sh
libtoolize --force --copy --install
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--mandir=${MANDIR}
make
runConfigure ./configure \
--without-included-regex \
--disable-rpath --with-gnu-ld
make $jobArgs
}
INSTALL()
{
cd findutils-4.4.2
make install
rm $libDir/charset.alias
}
TEST()
{
cd findutils-4.4.2
make install
}
LICENSE="GNU GPL v3"
COPYRIGHT="1990-2010 Free Software Foundation, Inc."