25 lines
595 B
Plaintext
25 lines
595 B
Plaintext
# Description: GNU grep, egrep and fgrep
|
|
# URL: http://www.gnu.org/software/grep/grep.html
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: libpcre
|
|
|
|
name=grep
|
|
version=2.15
|
|
release=1
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# Fix version string
|
|
# http://article.gmane.org/gmane.comp.gnu.grep.bugs/4957
|
|
sed -i '/^.*_TEXINFOS/d' doc/Makefile.am
|
|
autoreconf
|
|
|
|
./configure --prefix=/usr \
|
|
--disable-nls \
|
|
--mandir=/usr/man
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|