milis/talimatname/temel/openssl/talimat

43 lines
692 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: The Open Source toolkit for Secure Sockets Layer and Transport Layer Security.
# URL: http://www.openssl.org/
# Paketçi: milisarge
# Gerekler:
isim=openssl
surum=1.0.2f
devir=1
kaynak=(ftp://ftp.openssl.org/source/$isim-$surum.tar.gz)
derle() {
unset MAKEFLAGS
cd $isim-$surum
./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
}