compat-32/openssl-32/Pkgfile
2021-03-26 19:27:33 +11:00

25 lines
597 B
Plaintext

# Description: Secure Sockets Layer and Transport Layer Security tools
# URL: https://www.openssl.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
name=openssl-32
version=1.1.1k
release=1
source=(https://www.openssl.org/source/openssl-$version.tar.gz)
build() {
cd openssl-$version
./Configure --prefix=/usr \
--libdir=/usr/lib32 \
--openssldir=/etc/ssl \
shared no-ssl3-method linux-elf
sed -i "s|-O3|$CFLAGS|" Makefile
make depend
make -j1 DESTDIR=$PKG install_sw
rm -r $PKG/usr/{include,bin}
}