talimat 692 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Tanım: The Open Source toolkit for Secure Sockets Layer and Transport Layer Security.
  2. # URL: http://www.openssl.org/
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. isim=openssl
  6. surum=1.0.2f
  7. devir=1
  8. kaynak=(ftp://ftp.openssl.org/source/$isim-$surum.tar.gz)
  9. derle() {
  10. unset MAKEFLAGS
  11. cd $isim-$surum
  12. ./config --prefix=/usr \
  13. --openssldir=/etc/ssl \
  14. shared zlib-dynamic
  15. make
  16. make INSTALL_PREFIX=$PKG MANDIR=/usr/share/man \
  17. MANSUFFIX=ssl install
  18. cp -v -r certs $PKG/etc/ssl
  19. mv $PKG/usr/bin \
  20. $PKG
  21. mv $PKG/usr/lib* \
  22. $PKG/lib
  23. mkdir $PKG/usr/lib
  24. mv $PKG/lib/pkgconfig \
  25. $PKG/usr/lib
  26. for file in libcrypto.pc openssl.pc libssl.pc
  27. do
  28. sed -i "s/lib64/lib/" $PKG/usr/lib/pkgconfig/$file
  29. done
  30. }