aboutsummaryrefslogtreecommitdiff
path: root/extra/nawk
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nawk')
-rwxr-xr-xextra/nawk/build8
-rw-r--r--extra/nawk/checksums0
-rw-r--r--extra/nawk/depends1
-rw-r--r--extra/nawk/sources1
-rw-r--r--extra/nawk/version1
5 files changed, 11 insertions, 0 deletions
diff --git a/extra/nawk/build b/extra/nawk/build
new file mode 100755
index 00000000..7da2a299
--- /dev/null
+++ b/extra/nawk/build
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+make CFLAGS="$CFLAGS -static"
+install -Dm755 "a.out" "$1/usr/bin/nawk"
+ln -s /usr/bin/nawk "$1/usr/bin/awk"
+
+install -Dm644 "awk.1" "$1/usr/share/man/man1/nawk.1"
+ln -s nawk.1 "$1/usr/share/man/man1/awk.1"
diff --git a/extra/nawk/checksums b/extra/nawk/checksums
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/extra/nawk/checksums
diff --git a/extra/nawk/depends b/extra/nawk/depends
new file mode 100644
index 00000000..bccf6175
--- /dev/null
+++ b/extra/nawk/depends
@@ -0,0 +1 @@
+bison make
diff --git a/extra/nawk/sources b/extra/nawk/sources
new file mode 100644
index 00000000..dd509169
--- /dev/null
+++ b/extra/nawk/sources
@@ -0,0 +1 @@
+git+https://github.com/onetrueawk/awk
diff --git a/extra/nawk/version b/extra/nawk/version
new file mode 100644
index 00000000..75e7ae63
--- /dev/null
+++ b/extra/nawk/version
@@ -0,0 +1 @@
+20180827 1