ladybird/Ports/stress-ng/package.sh
Tim Schumacher 2732545b4c Ports: Ensure that the download filename matches the URL basename
This is a preparation step for removing support for explicitly setting a
download filename entirely.
2023-08-08 19:57:43 +02:00

12 lines
415 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=stress-ng
version=0.14.03
files=(
"https://github.com/ColinIanKing/stress-ng/archive/V${version}.tar.gz V${version}.tar.gz 95012c62883ab5826e6157557a075df98cce3cbce2a48bb40851bcc968a8441a"
)
depends=("zlib")
pre_configure() {
export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include"
export LDFLAGS="-L${SERENITY_INSTALL_ROOT}/usr/local/lib -lzlib"
}