mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
grep: recipe for version 2.20
This commit is contained in:
68
sys-apps/grep/grep-2.20.recipe
Normal file
68
sys-apps/grep/grep-2.20.recipe
Normal file
@@ -0,0 +1,68 @@
|
||||
SUMMARY="GNU regular expression matcher"
|
||||
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.
|
||||
"
|
||||
HOMEPAGE="http://www.gnu.org/software/grep/"
|
||||
LICENSE="GNU GPL v3"
|
||||
COPYRIGHT="1992-2014 Free Software Foundation, Inc."
|
||||
SRC_URI="http://ftp.gnu.org/gnu/grep/grep-2.20.tar.xz"
|
||||
CHECKSUM_SHA256="f0af452bc0d09464b6d089b6d56a0a3c16672e9ed9118fbe37b0b6aeaf069a65"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
|
||||
|
||||
PATCHES="grep-2.20.patchset"
|
||||
|
||||
PROVIDES="
|
||||
grep = $portVersion compat >= 2
|
||||
cmd:egrep = $portVersion compat >= 2
|
||||
cmd:fgrep = $portVersion compat >= 2
|
||||
cmd:grep = $portVersion compat >= 2
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libiconv
|
||||
lib:libintl
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libiconv
|
||||
devel:libintl
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc
|
||||
cmd:gettext
|
||||
cmd:ld
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
"
|
||||
|
||||
defineDebugInfoPackage grep \
|
||||
$binDir/grep
|
||||
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal -I m4
|
||||
autoconf
|
||||
runConfigure ./configure \
|
||||
--disable-perl-regexp --disable-gcc-warnings
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/charset.alias
|
||||
rmdir $libDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user