summaryrefslogtreecommitdiff
path: root/Ports/pv/package.sh
blob: b87bd2d2531be181a23530517bd0c4d86bd94972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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