summaryrefslogtreecommitdiffstats
path: root/grep/Pkgfile
diff options
context:
space:
mode:
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;
}