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