milis/talimatname/temel/openssl/talimat

43 lines
692 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: The Open Source toolkit for Secure Sockets Layer and Transport Layer Security.
2016-02-24 01:27:23 +01:00
# URL: http://www.openssl.org/
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge
# Gerekler:
2017-10-28 14:15:02 +02:00
isim=openssl
surum=1.0.2f
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
kaynak=(ftp://ftp.openssl.org/source/$isim-$surum.tar.gz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
unset MAKEFLAGS
2017-10-28 14:15:02 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
./config --prefix=/usr \
--openssldir=/etc/ssl \
shared zlib-dynamic
make
make INSTALL_PREFIX=$PKG MANDIR=/usr/share/man \
MANSUFFIX=ssl install
cp -v -r certs $PKG/etc/ssl
mv $PKG/usr/bin \
$PKG
mv $PKG/usr/lib* \
$PKG/lib
mkdir $PKG/usr/lib
mv $PKG/lib/pkgconfig \
$PKG/usr/lib
for file in libcrypto.pc openssl.pc libssl.pc
do
sed -i "s/lib64/lib/" $PKG/usr/lib/pkgconfig/$file
done
2017-10-27 21:56:50 +02:00
}