# $Id$ PNAME="grep" PVER="2.12" PBUILD="r2" PCAT="sys-apps" STATE="unstable" DESCRIPTION="GNU regular expression matcher." HOMEPAGE="http://www.gnu.org/software/grep/grep.html" DEPEND=">= virtual/glibc" SDEPEND=">= sys-dev/gettext-0.18" SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( gnu://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd_gnu ${PNAME} xz" src_compile() { cd ${SRCDIR} # --disable-perl-regexp disables build with libpcre mconfigure \ --with-included-regex \ --disable-perl-regexp || die mmake || die }