2006-02-23 16:26:10 +01:00
|
|
|
# Description: GNU grep, egrep and fgrep
|
|
|
|
# URL: http://www.gnu.org/software/grep/grep.html
|
2007-01-23 18:25:18 +01:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2008-09-22 17:00:30 +02:00
|
|
|
# Depends on: libpcre
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=grep
|
2014-01-02 21:32:53 +01:00
|
|
|
version=2.16
|
2009-02-12 13:47:59 +01:00
|
|
|
release=1
|
2010-03-25 10:28:34 +01:00
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2013-10-27 08:50:47 +01:00
|
|
|
|
|
|
|
# Fix version string
|
|
|
|
# http://article.gmane.org/gmane.comp.gnu.grep.bugs/4957
|
|
|
|
sed -i '/^.*_TEXINFOS/d' doc/Makefile.am
|
|
|
|
autoreconf
|
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
./configure --prefix=/usr \
|
2008-09-22 17:00:30 +02:00
|
|
|
--disable-nls \
|
|
|
|
--mandir=/usr/man
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|