description="GNU grep, egrep and fgrep"
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.gnu.org/software/grep/grep.html"
depends=(libpcre)

name=grep
version=2.7
release=1
source=(http://ftp.gnu.org/gnu/grep/grep-2.7.tar.xz)
build () 
{ 
	cd $name-$version;
	./configure \
		--prefix=$prefix \
		$(use_enable nls) \
		--mandir=$mandir;
	make;
	make DESTDIR=$PKG install;
}