mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 21:54:40 +03:00
b9a5442b59
zlib.net uses DDoS protection, which results in broken downloads whenever a browser validation page is served instead. The tarballs that are uploaded to GitHub releases are identical with the ones that are served on zlib.net.
16 lines
546 B
Bash
Executable File
16 lines
546 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='zlib'
|
|
version='1.3.1'
|
|
useconfigure='true'
|
|
files=(
|
|
"https://github.com/madler/zlib/releases/download/v${version}/zlib-${version}.tar.gz#9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
|
|
)
|
|
|
|
configure() {
|
|
# No SONAME is set on unknown systems by default. Manually set it
|
|
# to an unversioned name to avoid needing to rebuild dependent
|
|
# ports after a minor version upgrade.
|
|
export LDSHARED="$CC -shared -Wl,-soname,libz.so"
|
|
run ./configure --uname=SerenityOS
|
|
}
|