mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-21 04:26:28 +02:00
pkg(gawk-5.1.0): Add gawk
This commit is contained in:
parent
c3617c55a8
commit
92aa283c8f
6 changed files with 38 additions and 0 deletions
20
packages/gawk/5.1.0/build.sh
vendored
Normal file
20
packages/gawk/5.1.0/build.sh
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue