From bff41717dfa7666e4ecf03fdc94f7eb217707bcb Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 19 Apr 2021 16:19:01 +0300 Subject: nawk: add new package at 20180827 --- extra/nawk/build | 8 ++++++++ extra/nawk/checksums | 0 extra/nawk/depends | 1 + extra/nawk/sources | 1 + extra/nawk/version | 1 + 5 files changed, 11 insertions(+) create mode 100755 extra/nawk/build create mode 100644 extra/nawk/checksums create mode 100644 extra/nawk/depends create mode 100644 extra/nawk/sources create mode 100644 extra/nawk/version (limited to 'extra/nawk') 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 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 -- cgit v1.2.3