summaryrefslogtreecommitdiffstats
path: root/grep
diff options
context:
space:
mode:
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)
+)