diff options
author | Cem Keylan <cem@ckyln.com> | 2021-04-19 16:19:01 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-04-19 16:19:01 +0300 |
commit | bff41717dfa7666e4ecf03fdc94f7eb217707bcb (patch) | |
tree | 72f85bec135969585035f822d3076bf1db0c2aff /extra/nawk/build | |
parent | 92356a885e70293ea2bb68601adfbc9c400010c6 (diff) | |
download | repository-bff41717dfa7666e4ecf03fdc94f7eb217707bcb.tar.gz |
nawk: add new package at 20180827
Diffstat (limited to 'extra/nawk/build')
-rwxr-xr-x | extra/nawk/build | 8 |
1 files changed, 8 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" |