1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:57:45 +00:00

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
2 changed files with 17 additions and 0 deletions

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