add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / utils / gnupg / Makefile
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=gnupg
11 PKG_VERSION:=1.4.11
12 PKG_RELEASE:=1
13
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:=411744e1ef8ce90b87938c4203f001f1
18
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/gnupg
24   SECTION:=utils
25   CATEGORY:=Utilities
26   DEPENDS:=+zlib +libncurses +libreadline
27   TITLE:=GNU privacy guard - a free PGP replacement
28   URL:=http://www.gnupg.org/
29 endef
30
31 define Package/gnupg/description
32  GnuPG is GNU's tool for secure communication and data storage.
33  It can be used to encrypt data and to create digital signatures.
34  It includes an advanced key management facility and is compliant
35  with the proposed OpenPGP Internet standard as described in RFC2440.
36  .
37  GnuPG does not use any patented algorithms so it cannot be compatible
38  with PGP2 because it uses IDEA (which is patented worldwide).
39 endef
40
41 CONFIGURE_ARGS += \
42         --disable-rpath \
43         --disable-asm \
44         --disable-gnupg-iconv \
45         --disable-card-support \
46         --disable-agent-support \
47         --disable-bzip2 \
48         --disable-exec \
49         --disable-ldap \
50         --disable-hkp \
51         --disable-finger \
52         --disable-ftp \
53         --disable-dns-srv \
54         --enable-fake-curl \
55         --disable-regex \
56
57 MAKE_FLAGS += \
58         SUBDIRS="m4 intl zlib util mpi cipher tools g10 keyserver ${checks}" \
59
60 define Package/gnupg/install
61         $(INSTALL_DIR) $(1)/usr/bin
62         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpg $(1)/usr/bin/
63 endef
64
65 $(eval $(call BuildPackage,gnupg))