repo/openssl/Makefile

17 lines
515 B
Makefile

prepare:
git clone https://github.com/openssl/openssl.git
cd openssl
$(MAKE):
./config --prefix=${PREFIX}/usr \
--openssldir=${PREFIX}/etc/ssl \
--libdir=lib \
shared \
zlib-dynamic
$(MAKE)
install:
sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
$(MAKE) MANSUFFIX=ssl install
mv -v /usr/share/doc/openssl /usr/share/doc/openssl-1.1.1d
cp -vfr doc/* /usr/share/doc/openssl-1.1.1d
uninstall:
@echo 'no script for uninstall @ ssl'