63 lines
1.4 KiB
Bash
63 lines
1.4 KiB
Bash
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"
|
|
REVISION="5"
|
|
SOURCE_URI="http://ftp.gnu.org/gnu/findutils/findutils-4.4.2.tar.gz"
|
|
CHECKSUM_SHA256="434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
findutils = $portVersion compat >= 4
|
|
cmd:find = $portVersion compat >= 4
|
|
cmd:locate = $portVersion compat >= 4
|
|
cmd:oldfind = $portVersion compat >= 4
|
|
cmd:updatedb = $portVersion compat >= 4
|
|
cmd:xargs = $portVersion compat >= 4
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:awk
|
|
cmd:sed
|
|
cmd:sort
|
|
cmd:tr
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
defineDebugInfoPackage findutils \
|
|
$binDir/find \
|
|
$binDir/locate \
|
|
$binDir/xargs
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure \
|
|
--without-included-regex \
|
|
--disable-rpath --with-gnu-ld
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm $libDir/charset.alias
|
|
}
|