aboutsummaryrefslogtreecommitdiff
path: root/extra/grep/build
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/build
parent42157aa5e88de0756a602e96b360d2df428ac7b7 (diff)
downloadrepository-e747c69feadd271072bfbd89e64a6bb4c53d3ac4.tar.gz
grep: add new package at 3.4
Diffstat (limited to 'extra/grep/build')
-rwxr-xr-xextra/grep/build11
1 files changed, 11 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"