20 lines
517 B
Bash
20 lines
517 B
Bash
#!/bin/sh
|
|
pkg_ver="todo"
|
|
|
|
pkg_install(){
|
|
git clone https://github.com/openssl/openssl.git
|
|
cd openssl
|
|
./config --prefix=${PREFIX}/usr \
|
|
--openssldir=${PREFIX}/etc/ssl \
|
|
--libdir=lib \
|
|
shared \
|
|
zlib-dynamic
|
|
make
|
|
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
|
|
}
|
|
pkg_uninstall(){
|
|
make uninstall
|
|
}
|