talimat 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Tanım: OpenPGP standardının tamamlanmış ve ücretsiz uygulanması
  2. # URL: http://www.gnupg.org/
  3. # Paketçi: milisarge
  4. # Gerekler: npth libgpg-error libgcrypt libassuan libksba pinentry openldap libusb-compat curl
  5. # Grup: güvenlik sistem
  6. isim=gnupg
  7. surum=2.1.11
  8. devir=1
  9. kaynak=(ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-$surum.tar.bz2)
  10. derle() {
  11. cd gnupg-$surum
  12. sed -e 's|\(GNUPGHOME\)=\$(abs_builddir)|\1=`/bin/pwd`|' \
  13. -i tests/openpgp/Makefile.in
  14. ./configure --prefix=/usr \
  15. --enable-symcryptrun \
  16. --docdir=/usr/share/doc/gnupg-$surum
  17. make
  18. makeinfo --html --no-split -o doc/gnupg_nochunks.html doc/gnupg.texi
  19. makeinfo --plaintext -o doc/gnupg.txt doc/gnupg.texi
  20. make DESTDIR=$PKG install
  21. # Links to makes gpg2 compatible with gpg1
  22. for f in gpg gpgv
  23. do
  24. ln -svf ${f}2.1 $PKG/usr/share/man/man1/$f.1
  25. ln -svf ${f}2 $PKG/usr/bin/${f}
  26. done
  27. install -v -m755 -d \
  28. $PKG/usr/share/doc/gnupg-$surum/html
  29. if [ -f doc/gnupg_nochunks.html ];then
  30. install -v -m644 doc/gnupg_nochunks.html \
  31. $PKG/usr/share/doc/gnupg-$surum/gnupg.html
  32. fi
  33. install -v -m644 doc/*.texi doc/gnupg.txt \
  34. $PKG/usr/share/doc/gnupg-$surum
  35. rm $PKG/usr/share/info/dir
  36. }