# 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
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on: libpcre
name=grep
-version=2.5.4
+version=2.14
release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
cd $name-$version
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --disable-nls \
--mandir=/usr/man \
--disable-nls
+
make
make DESTDIR=$PKG install
+
rm -r $PKG/usr/share
}