mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-14 20:03:29 +00:00
b38edc9d43
The 3.0 series is the new LTS version and is supported until 7th September 2026. The 1.1.1 series which is the previous LTS version has an end of support on 11th September 2023.
21 lines
763 B
Bash
Executable file
21 lines
763 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=openssl
|
|
version='3.0.9'
|
|
useconfigure=true
|
|
configscript=Configure
|
|
files="https://www.openssl.org/source/openssl-${version}.tar.gz openssl-${version}.tar.gz eb1ab04781474360f77c318ab89d8c5a03abc38e63d65a603cabbf1b00a1dc90"
|
|
|
|
depends=("zlib")
|
|
configopts=("--prefix=/usr/local" "-DOPENSSL_SYS_SERENITY=1" "-DOPENSSL_USE_IPV6=0" "zlib" "threads" "no-tests" "no-asm" "serenity-generic")
|
|
|
|
configure() {
|
|
export LDFLAGS="-L${SERENITY_INSTALL_ROOT}/usr/local/lib"
|
|
run ./"$configscript" "${configopts[@]}"
|
|
}
|
|
|
|
install() {
|
|
# The default "install" also installs docs, which we don't want.
|
|
run make DESTDIR=$DESTDIR install_sw "${installopts[@]}"
|
|
run make DESTDIR=$DESTDIR install_ssldirs "${installopts[@]}"
|
|
}
|