diff options
Diffstat (limited to 'grep/Pkgfile')
-rw-r--r-- | grep/Pkgfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/grep/Pkgfile b/grep/Pkgfile index 6fcb6c8..f4ff6e4 100644 --- a/grep/Pkgfile +++ b/grep/Pkgfile @@ -1,4 +1,4 @@ -description="GNU grep, egrep and fgrep" +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" @@ -7,11 +7,13 @@ depends=(libpcre) name=grep version=2.7 release=1 -source=(http://ftp.gnu.org/gnu/grep/grep-2.7.tar.xz) +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build () { cd $name-$version; ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ --prefix=$prefix \ $(use_enable nls) \ --mandir=$mandir; |