eth0s/ports/openssl/Pkgfile
2019-10-03 18:00:34 +08:00

25 lines
629 B
Text
Executable file

# Description: Management tools and libraries relating to cryptography
# URL:
# Maintainer:
# Depends on:
name=openssl
version=1.1.1d
release=1
source=(https://openssl.org/source/$name-$version.tar.gz)
build() {
cd $name-$version
./config --prefix=/usr \
--openssldir=/etc/ssl \
--libdir=lib \
shared \
zlib-dynamic
make
# disable static lib
sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
make DESTDIR=$PKG MANDIR=/usr/share/man MANSUFFIX=ssl install
}