Ports: Add initial Pipe Viewer (pv) 1.6.20 port

This commit is contained in:
Brian Gianforcaro 2021-11-14 09:39:40 -08:00 committed by Linus Groh
parent d1806d44fa
commit 2c4db837e7
Notes: sideshowbarker 2024-07-18 01:09:17 +09:00
2 changed files with 17 additions and 0 deletions

View file

@ -138,6 +138,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`SDLPoP`](SDLPoP/) | Prince of Persia game | | https://github.com/NagyD/SDLPoP |
| [`printf`](printf/) | printf (OpenBSD) | 6.6 | https://github.com/ibara/libpuffy |
| [`pt2-clone`](pt2-clone/) | ProTracker 2 clone | 1.28 | https://github.com/8bitbubsy/pt2-clone |
| [`pv`](pv/) | Pipe Viewer | 1.6.20 | http://www.ivarch.com/programs/pv.shtml |
| [`python3`](python3/) | Python | 3.10.0 | https://www.python.org/ |
| [`quake`](quake/) | Quake | 0.65 | https://github.com/SerenityOS/SerenityQuake |
| [`quake2`](quake2/) | QuakeII | 0.1 | https://github.com/SerenityOS/SerenityQuakeII |

16
Ports/pv/package.sh Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=pv
version=1.6.20
useconfigure=true
configopts=("--disable-nls")
files="http://www.ivarch.com/programs/sources/pv-${version}.tar.bz2 pv-${version}.tar.bz2 e831951eff0718fba9b1ef286128773b9d0e723e1fbfae88d5a3188814fdc603"
auth_type=sha256
export CFLAGS=-Wno-deprecated-declarations
# Map LD to the serenity Toolchain, otherwise the host LD is used.
if [ "$SERENITY_TOOLCHAIN" = "Clang" ]; then
export LD=$(CC)
else
export LD="${SERENITY_ARCH}-pc-serenity-ld"
fi