17 lines
502 B
Makefile
17 lines
502 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'
|