Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= gnupg
  5. PKG_VERSION:= 1.4.18
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 10a8936b76ccadb98521535b5f41cc5b41b3c159a6c2915f062bd4dc8ac12d12
  8. PKG_DESCR:= gnu privacy guard
  9. PKG_SECTION:= app/crypto
  10. PKG_DEPENDS:= libreadline libncurses
  11. PKG_BUILDDEP:= readline ncurses
  12. PKG_URL:= http://www.gnupg.org/
  13. PKG_SITES:= ftp://ftp.gnupg.org/gcrypt/gnupg/
  14. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  15. PKG_SUBPKGS:= GNUPG GPGV
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,GNUPG,gnupg,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  18. $(eval $(call PKG_template,GPGV,gpgv,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
  19. CONFIGURE_ARGS+= --disable-asm \
  20. --disable-gnupg-iconv \
  21. --disable-card-support \
  22. --disable-agent-support \
  23. --disable-bzip2 \
  24. --disable-exec \
  25. --disable-ldap \
  26. --disable-hkp \
  27. --disable-finger \
  28. --disable-dns-srv \
  29. --disable-rpath \
  30. --disable-regex
  31. gpgv-install:
  32. $(INSTALL_DIR) $(IDIR_GPGV)/usr/bin
  33. $(INSTALL_BIN) $(WRKINST)/usr/bin/gpgv \
  34. $(IDIR_GPGV)/usr/bin
  35. gnupg-install:
  36. $(INSTALL_DIR) $(IDIR_GNUPG)/usr/bin/
  37. $(INSTALL_DIR) $(IDIR_GNUPG)/usr/share/gnupg
  38. $(INSTALL_DATA) $(WRKINST)/usr/share/gnupg/options.skel \
  39. $(IDIR_GNUPG)/usr/share/gnupg
  40. $(INSTALL_BIN) $(WRKINST)/usr/bin/gpg $(IDIR_GNUPG)/usr/bin/
  41. # we need root privileges for secure memory (locked pages)
  42. chmod u+s $(IDIR_GNUPG)/usr/bin/gpg
  43. include $(ADK_TOPDIR)/mk/pkg-bottom.mk