2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_SOURCE_URL
:=ftp
://ftp.franken.de
/pub
/crypt
/mirror
/ftp.gnupg.org
/gcrypt
/gnupg \
18 ftp
://ftp.gnupg.org
/gcrypt
/gnupg
19 PKG_MD5SUM
:=2d59ed50d92f69994dbfbe00fe1612e4
22 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=GNU Privacy Guard
28 DESCRIPTION
:=GNU Privacy Guard
(GnuPG
).
\\\
29 GPG is an encryption program.
30 URL
:=http
://www.gnupg.org
/
33 define Build
/Configure
34 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
35 $(TARGET_CONFIGURE_OPTS
) \
36 CFLAGS
="$(TARGET_CFLAGS)" \
37 CPPFLAGS
="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
38 LDFLAGS
="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
40 --target
=$(GNU_TARGET_NAME
) \
41 --host
=$(GNU_TARGET_NAME
) \
42 --build
=$(GNU_HOST_NAME
) \
48 --datadir=/usr
/share \
49 --includedir=/usr
/include \
50 --infodir=/usr
/share
/info \
52 --libexecdir
=/usr
/lib \
53 --localstatedir
=/var \
54 --mandir=/usr
/share
/man \
57 $(DISABLE_LARGEFILE
) \
60 --disable-gnupg-iconv \
61 --disable-card-support \
62 --disable-agent-support \
77 define Package
/gnupg
/install
78 install -d
-m0755
$(1)/usr
/bin
79 install -m0755
$(PKG_BUILD_DIR
)/g10
/gpg
$(1)/usr
/bin
/
82 $(eval
$(call BuildPackage
,gnupg
))