summaryrefslogtreecommitdiffstats
path: root/grep/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 12:31:39 +0100
committerLukc <lukc@upyum.com>2010-12-12 12:31:39 +0100
commit88eef2384e09b3427ec5cc41dc5fe2a87718ccdc (patch)
treebda36717ba833e507ef1463992e122763ad60c84 /grep/Pkgfile
parent43d35f18c31f12a04932c85980072dd32cdeff8e (diff)
downloadbase-88eef2384e09b3427ec5cc41dc5fe2a87718ccdc.tar.gz
base-88eef2384e09b3427ec5cc41dc5fe2a87718ccdc.tar.bz2
base-88eef2384e09b3427ec5cc41dc5fe2a87718ccdc.tar.xz
base-88eef2384e09b3427ec5cc41dc5fe2a87718ccdc.zip
Recette de grep mise à jour.
Diffstat (limited to 'grep/Pkgfile')
-rw-r--r--grep/Pkgfile16
1 files changed, 9 insertions, 7 deletions
diff --git a/grep/Pkgfile b/grep/Pkgfile
index b9b80c9..6fcb6c8 100644
--- a/grep/Pkgfile
+++ b/grep/Pkgfile
@@ -1,6 +1,6 @@
description="GNU grep, egrep and fgrep"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+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"
depends=(libpcre)
@@ -10,9 +10,11 @@ release=1
source=(http://ftp.gnu.org/gnu/grep/grep-2.7.tar.xz)
build ()
{
- cd $name-$version;
- ./configure --prefix=/usr --disable-nls --mandir=/usr/man;
- make;
- make DESTDIR=$PKG install;
- rm -r $PKG/usr/share
+ cd $name-$version;
+ ./configure \
+ --prefix=$prefix \
+ $(use_enable nls) \
+ --mandir=$mandir;
+ make;
+ make DESTDIR=$PKG install;
}