summaryrefslogtreecommitdiffstats
path: root/grep
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2011-01-08 17:39:20 +0100
committerLukc <lukc@upyum.com>2011-01-08 17:39:20 +0100
commit784c34c17aa020c32765c83e75b8f44f80458b70 (patch)
tree0c956bb3a981f22bbf5e12c9e9cc154735404794 /grep
parent89bb071775298a0c73db590d8b4181e5adabfa7b (diff)
downloadbase-784c34c17aa020c32765c83e75b8f44f80458b70.tar.gz
base-784c34c17aa020c32765c83e75b8f44f80458b70.tar.bz2
base-784c34c17aa020c32765c83e75b8f44f80458b70.tar.xz
base-784c34c17aa020c32765c83e75b8f44f80458b70.zip
Recette de grep mise à jour pour utiliser includes=(autotools)
Diffstat (limited to 'grep')
-rw-r--r--grep/Pkgfile17
1 files changed, 5 insertions, 12 deletions
diff --git a/grep/Pkgfile b/grep/Pkgfile
index a798b76..9198ab2 100644
--- a/grep/Pkgfile
+++ b/grep/Pkgfile
@@ -8,15 +8,8 @@ name=grep
version=2.7
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
-build ()
-{
- cd $name-$version;
- ./configure \
- ${CBUILD:+--build=${CBUILD}} \
- ${CHOST:+--host=${CHOST}} \
- --prefix=$prefix \
- $(use_enable nls) \
- --mandir=$mandir;
- make;
- make DESTDIR=$PKG install;
-}
+
+includes=(autotools)
+configure_opts=(
+ $(use_enable nls)
+)