2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=ftp
://ftp.franken.de
/pub
/crypt
/mirror
/ftp.gnupg.org
/gcrypt
/gnupg \
16 ftp
://ftp.gnupg.org
/gcrypt
/gnupg
17 PKG_MD5SUM
:=b7af897a041c03c8ad1c7c466b54d10d
20 PKG_LICENSE_FILES
:=COPYING
21 PKG_MAINTAINER
:=Nicolas Thill
<nico@openwrt.org
>
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/gnupg
/Default
31 DEPENDS
:=+zlib
+libncurses
+libreadline
32 TITLE
:=GNU privacy guard
- a free PGP replacement
33 URL
:=http
://www.gnupg.org
/
37 $(call Package
/gnupg
/Default
)
41 define Package
/gnupg-utils
42 $(call Package
/gnupg
/Default
)
43 DEPENDS
:=gnupg
+libcurl
44 TITLE
:=Key management utilities for GnuPG
47 define Package
/gnupg
/description
48 GnuPG is GNU
's tool for secure communication and data storage.
49 It can be used to encrypt data and to create digital signatures.
50 It includes an advanced key management facility and is compliant
51 with the proposed OpenPGP Internet standard as described in RFC2440.
53 GnuPG does not use any patented algorithms so it cannot be compatible
54 with PGP2 because it uses IDEA (which is patented worldwide).
57 define Package/gnupg-utils/description
58 Key management utilies for GnuPG.
59 This package is needed to import keys from a keyserver.
65 --disable-gnupg-iconv \
66 --disable-card-support \
67 --disable-agent-support \
75 SUBDIRS="m4 intl zlib util mpi cipher tools g10 keyserver ${checks}" \
77 define Package/gnupg/install
78 $(INSTALL_DIR) $(1)/usr/bin
79 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpg $(1)/usr/bin/
82 define Package/gnupg-utils/install
83 $(INSTALL_DIR) $(1)/usr/lib/gnupg
84 for file in gpgkeys_curl gpgkeys_hkp; do \
85 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/gnupg/$$$$file \
86 $(1)/usr/lib/gnupg/; \
90 $(eval $(call BuildPackage,gnupg))
91 $(eval $(call BuildPackage,gnupg-utils))