aboutsummaryrefslogtreecommitdiff
path: root/extra/grep
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-07-18 22:47:31 +0300
committerCem Keylan <cem@ckyln.com>2020-07-18 22:47:31 +0300
commite747c69feadd271072bfbd89e64a6bb4c53d3ac4 (patch)
tree0950df4ce812b8adc2056a59e686b43fb90e92c6 /extra/grep
parent42157aa5e88de0756a602e96b360d2df428ac7b7 (diff)
downloadrepository-e747c69feadd271072bfbd89e64a6bb4c53d3ac4.tar.gz
grep: add new package at 3.4
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