aboutsummaryrefslogtreecommitdiff
path: root/extra/grep
diff options
context:
space:
mode:
Diffstat (limited to 'extra/grep')
-rwxr-xr-xextra/grep/build11
-rw-r--r--extra/grep/checksums1
-rw-r--r--extra/grep/sources1
-rw-r--r--extra/grep/version1
4 files changed, 14 insertions, 0 deletions
diff --git a/extra/grep/build b/extra/grep/build
new file mode 100755
index 00000000..547fc5a5
--- /dev/null
+++ b/extra/grep/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+export LDFLAGS="$LDFLAGS -static"
+
+./configure \
+ --prefix=/usr
+
+make
+make DESTDIR="$1" install
+
+cp "$1/usr/bin/grep" "$1/usr/bin/ggrep"
diff --git a/extra/grep/checksums b/extra/grep/checksums
new file mode 100644
index 00000000..e90aad94
--- /dev/null
+++ b/extra/grep/checksums
@@ -0,0 +1 @@
+58e6751c41a7c25bfc6e9363a41786cff3ba5709cf11d5ad903cf7cce31cc3fb grep-3.4.tar.xz
diff --git a/extra/grep/sources b/extra/grep/sources
new file mode 100644
index 00000000..20bc97a6
--- /dev/null
+++ b/extra/grep/sources
@@ -0,0 +1 @@
+https://ftp.gnu.org/gnu/grep/grep-3.4.tar.xz
diff --git a/extra/grep/version b/extra/grep/version
new file mode 100644
index 00000000..5647cc28
--- /dev/null
+++ b/extra/grep/version
@@ -0,0 +1 @@
+3.4 1