2012-11-21 18:12:43 +01:00
|
|
|
# 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
|
2012-11-21 18:12:43 +01:00
|
|
|
|
2019-03-17 08:52:34 +01:00
|
|
|
name=openssl-32
|
2020-10-04 15:34:44 +02:00
|
|
|
version=1.1.1h
|
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)
|
2012-11-21 18:12:43 +01:00
|
|
|
|
|
|
|
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}
|
2012-11-21 18:12:43 +01:00
|
|
|
}
|