compat-32/openssl-32/Pkgfile

31 lines
630 B
Plaintext
Raw Normal View History

# Description: Secure Sockets Layer and Transport Layer Security tools
2022-06-16 17:27:24 +02:00
# URL: https://www.openssl.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: zlib-32
name=openssl-32
2022-06-16 17:27:24 +02:00
version=3.0.3
2014-04-13 23:42:12 +02:00
release=1
2019-03-10 12:33:19 +01:00
source=(https://www.openssl.org/source/openssl-$version.tar.gz)
build() {
2022-06-16 17:27:24 +02:00
cd openssl-$version
2014-10-18 14:09:54 +02:00
2022-06-16 17:27:24 +02:00
./Configure --prefix=/usr \
--libdir=/usr/lib32 \
--openssldir=/etc/ssl \
shared \
threads \
zlib \
shared no-ssl3-method linux-elf
2014-10-18 14:09:54 +02:00
2022-06-16 17:27:24 +02:00
sed -i "s|-O3|$CFLAGS|" Makefile
2014-10-18 14:09:54 +02:00
2022-06-16 17:27:24 +02:00
make depend
make
make -j1 DESTDIR=$PKG install_sw
2014-10-18 14:09:54 +02:00
2022-06-16 17:27:24 +02:00
find $PKG -name "*fips*" -delete
rm -r $PKG/usr/{include,bin}
}