mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:17:35 +00:00
Ports: Added The One True AWK
This commit is contained in:
parent
8a46794ff8
commit
45d73f8ef9
5 changed files with 53 additions and 0 deletions
17
Ports/awk/package.sh
Executable file
17
Ports/awk/package.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=awk
|
||||
version=20220122
|
||||
useconfigure="false"
|
||||
files="https://github.com/onetrueawk/awk/archive/refs/tags/${version}.tar.gz awk-${version}.tar.xz 720a06ff8dcc12686a5176e8a4c74b1295753df816e38468a6cf077562d54042"
|
||||
auth_type=sha256
|
||||
patchlevel=1
|
||||
|
||||
build() {
|
||||
run make "${makeopts[@]}"
|
||||
run mv a.out awk
|
||||
}
|
||||
|
||||
install() {
|
||||
run mkdir -p ${SERENITY_INSTALL_ROOT}/usr/local/bin/
|
||||
run cp awk ${SERENITY_INSTALL_ROOT}/usr/local/bin/
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue