compat-32/openssl-32/Pkgfile

25 lines
597 B
Plaintext
Raw Normal View History

# Description: Secure Sockets Layer and Transport Layer Security tools
2019-03-10 12:33:19 +01:00
# URL: https://www.openssl.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
name=openssl-32
2021-08-29 17:07:33 +02:00
version=1.1.1l
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() {
2019-03-10 12:33:19 +01:00
cd openssl-$version
2014-10-18 14:09:54 +02:00
2019-03-10 12:33:19 +01:00
./Configure --prefix=/usr \
--libdir=/usr/lib32 \
--openssldir=/etc/ssl \
shared no-ssl3-method linux-elf
2014-10-18 14:09:54 +02:00
2019-03-10 12:33:19 +01:00
sed -i "s|-O3|$CFLAGS|" Makefile
2014-10-18 14:09:54 +02:00
2019-03-10 12:33:19 +01:00
make depend
make -j1 DESTDIR=$PKG install_sw
2014-10-18 14:09:54 +02:00
2019-03-10 12:33:19 +01:00
rm -r $PKG/usr/{include,bin}
}