2013-04-29 09:37:19 +00:00
|
|
|
SUMMARY="GNU regular expression matcher"
|
2014-01-02 21:40:58 +00:00
|
|
|
DESCRIPTION="
|
|
|
|
The grep command searches one or more input files for lines containing a match \
|
|
|
|
to a specified pattern. By default, grep prints the matching lines.
|
|
|
|
"
|
2013-04-29 09:37:19 +00:00
|
|
|
HOMEPAGE="http://www.gnu.org/software/grep/"
|
|
|
|
COPYRIGHT="1992-2012 Free Software Foundation, Inc."
|
2018-09-05 12:26:47 +00:00
|
|
|
LICENSE="GNU GPL v3"
|
|
|
|
REVISION="5"
|
2015-07-02 15:12:32 +00:00
|
|
|
SOURCE_URI="http://ports-space.haiku-files.org/source/grep-2.14.tar.bz2"
|
2014-04-21 17:31:51 +00:00
|
|
|
CHECKSUM_SHA256="0aa728dbb92eeec776f9551fcee1931717984a91cfd8c3df3dfb40709243ae6f"
|
2013-04-29 09:37:19 +00:00
|
|
|
PATCHES="grep-2.14-gcc2.patch"
|
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all ?x86_gcc2"
|
2018-09-05 12:26:47 +00:00
|
|
|
|
2013-04-29 09:37:19 +00:00
|
|
|
PROVIDES="
|
|
|
|
grep = $portVersion compat >= 2
|
|
|
|
cmd:egrep = $portVersion compat >= 2
|
|
|
|
cmd:fgrep = $portVersion compat >= 2
|
|
|
|
cmd:grep = $portVersion compat >= 2
|
|
|
|
"
|
|
|
|
REQUIRES="
|
2014-12-14 22:08:52 +00:00
|
|
|
haiku
|
2013-04-29 09:37:19 +00:00
|
|
|
lib:libiconv
|
2013-05-20 17:24:14 +00:00
|
|
|
lib:libintl
|
2013-04-29 09:37:19 +00:00
|
|
|
"
|
2018-09-05 12:26:47 +00:00
|
|
|
|
2013-04-29 09:37:19 +00:00
|
|
|
BUILD_REQUIRES="
|
2013-08-04 22:14:47 +00:00
|
|
|
devel:libiconv
|
|
|
|
devel:libintl
|
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
2014-12-14 22:08:52 +00:00
|
|
|
haiku_devel
|
2013-04-29 09:37:19 +00:00
|
|
|
cmd:aclocal
|
|
|
|
cmd:autoconf
|
|
|
|
cmd:automake
|
|
|
|
cmd:gcc
|
2013-06-15 19:54:07 +00:00
|
|
|
cmd:gettext
|
2013-04-29 09:37:19 +00:00
|
|
|
cmd:ld
|
|
|
|
cmd:libtoolize
|
|
|
|
cmd:make
|
|
|
|
"
|
|
|
|
|
2013-07-11 11:46:34 +00:00
|
|
|
defineDebugInfoPackage grep \
|
|
|
|
$binDir/egrep \
|
|
|
|
$binDir/fgrep \
|
|
|
|
$binDir/grep
|
|
|
|
|
2013-03-29 16:31:03 +00:00
|
|
|
BUILD()
|
|
|
|
{
|
2013-03-29 14:04:07 +00:00
|
|
|
libtoolize --force --copy --install
|
|
|
|
aclocal -I m4
|
|
|
|
autoconf
|
2013-04-29 09:37:19 +00:00
|
|
|
runConfigure ./configure \
|
2013-03-29 14:04:07 +00:00
|
|
|
--disable-perl-regexp
|
2013-04-29 09:37:19 +00:00
|
|
|
make $jobArgs
|
2013-03-29 14:04:07 +00:00
|
|
|
}
|
|
|
|
|
2013-03-29 16:31:03 +00:00
|
|
|
INSTALL()
|
|
|
|
{
|
2013-03-29 14:04:07 +00:00
|
|
|
make install
|
2013-04-29 09:37:19 +00:00
|
|
|
|
|
|
|
rm $libDir/charset.alias
|
|
|
|
rmdir $libDir
|
2013-03-29 14:04:07 +00:00
|
|
|
}
|
|
|
|
|
2013-03-29 16:31:03 +00:00
|
|
|
TEST()
|
|
|
|
{
|
2013-03-29 14:04:07 +00:00
|
|
|
make check
|
|
|
|
}
|