summaryrefslogtreecommitdiffstats
path: root/grep/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-21 05:41:26 +0100
committerLukc <lukc@upyum.com>2010-12-21 05:41:26 +0100
commitf1ce011e59c902da9b20d7cbfdac0e5ac9bf5c5c (patch)
tree02991e89d970cc6dfcdf1e3f34040cb58980453a /grep/Pkgfile
parentac43d2f4112616e6820347d40fe44c9015f9fe09 (diff)
downloadbase-f1ce011e59c902da9b20d7cbfdac0e5ac9bf5c5c.tar.gz
base-f1ce011e59c902da9b20d7cbfdac0e5ac9bf5c5c.tar.bz2
base-f1ce011e59c902da9b20d7cbfdac0e5ac9bf5c5c.tar.xz
base-f1ce011e59c902da9b20d7cbfdac0e5ac9bf5c5c.zip
Recette de grep mise à jour.
Diffstat (limited to 'grep/Pkgfile')
-rw-r--r--grep/Pkgfile6
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;