You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.7 KiB

  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=gnupg
  9. PKG_VERSION:=1.4.19
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  12. PKG_SOURCE_URL:=ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/gnupg \
  13. ftp://ftp.gnupg.org/gcrypt/gnupg
  14. PKG_MD5SUM:=3af4ab5b3113b3e28d3551ecf9600785
  15. PKG_LICENSE:=GPL-3.0
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_MAINTAINER:=Nicolas Thill <nico@openwrt.org>
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/gnupg
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. DEPENDS:=+zlib +libncurses +libreadline
  24. TITLE:=GNU privacy guard - a free PGP replacement
  25. URL:=http://www.gnupg.org/
  26. endef
  27. define Package/gnupg/description
  28. GnuPG is GNU's tool for secure communication and data storage.
  29. It can be used to encrypt data and to create digital signatures.
  30. It includes an advanced key management facility and is compliant
  31. with the proposed OpenPGP Internet standard as described in RFC2440.
  32. .
  33. GnuPG does not use any patented algorithms so it cannot be compatible
  34. with PGP2 because it uses IDEA (which is patented worldwide).
  35. endef
  36. CONFIGURE_ARGS += \
  37. --disable-rpath \
  38. --disable-asm \
  39. --disable-gnupg-iconv \
  40. --disable-card-support \
  41. --disable-agent-support \
  42. --disable-bzip2 \
  43. --disable-exec \
  44. --disable-ldap \
  45. --disable-hkp \
  46. --disable-finger \
  47. --disable-ftp \
  48. --disable-dns-srv \
  49. --enable-fake-curl \
  50. --disable-regex \
  51. MAKE_FLAGS += \
  52. SUBDIRS="m4 intl zlib util mpi cipher tools g10 keyserver ${checks}" \
  53. define Package/gnupg/install
  54. $(INSTALL_DIR) $(1)/usr/bin
  55. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpg $(1)/usr/bin/
  56. endef
  57. $(eval $(call BuildPackage,gnupg))