talimat 1.1 KB

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