pkg(gawk-5.1.0): Add gawk

This commit is contained in:
Thomas Hobson 2021-03-13 20:37:11 +13:00
parent c3617c55a8
commit 92aa283c8f
No known key found for this signature in database
GPG key ID: 9F1FD9D87950DB6F
6 changed files with 38 additions and 0 deletions

20
packages/gawk/5.1.0/build.sh vendored Normal file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Put instructions to build your package in here
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl "https://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.gz" -o gawk.tar.gz
tar xzf gawk.tar.gz --strip-components=1
# === autoconf based ===
./configure --prefix "$PREFIX"
make -j$(nproc)
make install -j$(nproc)
cd ../
rm -rf build