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
30 DEPENDS
:=+zlib
+libncurses
+libreadline
31 TITLE
:=GNU privacy guard
- a free PGP replacement
32 URL
:=http
://www.gnupg.org
/
36 $(call Package
/gnupg
/Default
)
40 define Package
/gnupg-utils
41 $(call Package
/gnupg
/Default
)
42 DEPENDS
:=gnupg
+libcurl
43 TITLE
:=Key management utilities for GnuPG
46 define Package
/gnupg
/description
47 GnuPG is GNU
's tool for secure communication and data storage.
48 It can be used to encrypt data and to create digital signatures.
49 It includes an advanced key management facility and is compliant
50 with the proposed OpenPGP Internet standard as described in RFC2440.
52 GnuPG does not use any patented algorithms so it cannot be compatible
53 with PGP2 because it uses IDEA (which is patented worldwide).
56 define Package/gnupg-utils/description
57 Key management utilies for GnuPG.
58 This package is needed to import keys from a keyserver.
64 --disable-gnupg-iconv \
65 --disable-card-support \
66 --disable-agent-support \
74 SUBDIRS="m4 intl zlib util mpi cipher tools g10 keyserver ${checks}" \
76 define Package/gnupg/install
77 $(INSTALL_DIR) $(1)/usr/bin
78 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpg $(1)/usr/bin/
81 define Package/gnupg-utils/install
82 $(INSTALL_DIR) $(1)/usr/lib/gnupg
83 for file in gpgkeys_curl gpgkeys_hkp; do \
84 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/gnupg/$$$$file \
85 $(1)/usr/lib/gnupg/; \
89 $(eval $(call BuildPackage,gnupg))
90 $(eval $(call BuildPackage,gnupg-utils))