summaryrefslogtreecommitdiffstats
path: root/grep/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'grep/Pkgfile')
-rw-r--r--grep/Pkgfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/grep/Pkgfile b/grep/Pkgfile
new file mode 100644
index 0000000..b9b80c9
--- /dev/null
+++ b/grep/Pkgfile
@@ -0,0 +1,18 @@
+description="GNU grep, egrep and fgrep"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.gnu.org/software/grep/grep.html"
+depends=(libpcre)
+
+name=grep
+version=2.7
+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
+}