summaryrefslogtreecommitdiffstats
path: root/grep
diff options
context:
space:
mode:
Diffstat (limited to 'grep')
-rw-r--r--grep/.footprint10
-rw-r--r--grep/.md5sum1
-rw-r--r--grep/Pkgfile18
-rw-r--r--grep/Pkgfile.old19
4 files changed, 48 insertions, 0 deletions
diff --git a/grep/.footprint b/grep/.footprint
new file mode 100644
index 0000000..e153fe5
--- /dev/null
+++ b/grep/.footprint
@@ -0,0 +1,10 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/egrep
+-rwxr-xr-x root/root usr/bin/fgrep
+-rwxr-xr-x root/root usr/bin/grep
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/egrep.1.gz
+-rw-r--r-- root/root usr/man/man1/fgrep.1.gz
+-rw-r--r-- root/root usr/man/man1/grep.1.gz
diff --git a/grep/.md5sum b/grep/.md5sum
new file mode 100644
index 0000000..d84d2d0
--- /dev/null
+++ b/grep/.md5sum
@@ -0,0 +1 @@
+6dd9931a52501519d7779a27cf953326 grep-2.7.tar.xz
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
+}
diff --git a/grep/Pkgfile.old b/grep/Pkgfile.old
new file mode 100644
index 0000000..0f7bde3
--- /dev/null
+++ b/grep/Pkgfile.old
@@ -0,0 +1,19 @@
+# Description: GNU grep, egrep and fgrep
+# URL: http://www.gnu.org/software/grep/grep.html
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: libpcre
+
+name=grep
+version=2.7
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --disable-nls \
+ --mandir=/usr/man
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share
+}