From 44bef8ba85a10cf004054f23a6b29de4d9af159f Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 21 Feb 2014 22:17:14 +0000 Subject: [PATCH] findutils: add recipe for 4.4.2 --- sys-apps/findutils/findutils-4.4.2.recipe | 68 +++++++++++++++-------- 1 file changed, 45 insertions(+), 23 deletions(-) diff --git a/sys-apps/findutils/findutils-4.4.2.recipe b/sys-apps/findutils/findutils-4.4.2.recipe index cb8b14ff4..c2c8b1e38 100644 --- a/sys-apps/findutils/findutils-4.4.2.recipe +++ b/sys-apps/findutils/findutils-4.4.2.recipe @@ -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."