2021-01-22 19:44:05 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2019-10-05 23:34:19 +03:00
|
|
|
port=zlib
|
2022-10-14 08:15:47 +03:00
|
|
|
version=1.2.13
|
2019-10-05 23:34:19 +03:00
|
|
|
useconfigure=true
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
2023-08-07 22:10:39 +03:00
|
|
|
"https://www.zlib.net/zlib-${version}.tar.gz b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30"
|
2023-07-10 14:10:29 +03:00
|
|
|
)
|
2019-10-05 23:34:19 +03:00
|
|
|
|
|
|
|
configure() {
|
2023-08-01 22:10:45 +03:00
|
|
|
# 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
|
2019-10-05 23:34:19 +03:00
|
|
|
}
|