1 ################################################################################
5 ################################################################################
8 GNUPG_SOURCE
= gnupg-
$(GNUPG_VERSION
).
tar.bz2
9 GNUPG_SITE
= ftp
://ftp.gnupg.org
/gcrypt
/gnupg
10 GNUPG_LICENSE
= GPLv3
+
11 GNUPG_LICENSE_FILES
= COPYING
12 GNUPG_DEPENDENCIES
= zlib ncurses
$(if
$(BR2_PACKAGE_LIBICONV
),libiconv
)
13 GNUPG_CONF_ENV
= ac_cv_sys_symbol_underscore
=no
14 GNUPG_CONF_OPTS
= --disable-rpath
--enable-minimal
--disable-regex
16 ifeq ($(BR2_PACKAGE_BZIP2
),y
)
17 GNUPG_CONF_OPTS
+= --enable-bzip2
18 GNUPG_DEPENDENCIES
+= bzip2
21 ifeq ($(BR2_PACKAGE_LIBCURL
),y
)
22 GNUPG_CONF_ENV
+= ac_cv_path__libcurl_config
=$(STAGING_DIR
)/usr
/bin
/curl-config
23 GNUPG_DEPENDENCIES
+= libcurl
25 GNUPG_CONF_OPTS
+= --without-libcurl
28 ifeq ($(BR2_PACKAGE_READLINE
),y
)
29 GNUPG_DEPENDENCIES
+= readline
31 GNUPG_CONF_OPTS
+= --without-readline
34 ifeq ($(BR2_PACKAGE_GNUPG_AES
),y
)
35 GNUPG_CONF_OPTS
+= --enable-aes
37 GNUPG_CONF_OPTS
+= --disable-aes
40 ifeq ($(BR2_PACKAGE_GNUPG_RSA
),y
)
41 GNUPG_CONF_OPTS
+= --enable-rsa
43 GNUPG_CONF_OPTS
+= --disable-rsa
46 ifneq ($(BR2_PACKAGE_GNUPG_GPGV
),y
)
47 define GNUPG_REMOVE_GPGV
48 rm -f
$(TARGET_DIR
)/usr
/bin
/gpgv
50 GNUPG_POST_INSTALL_TARGET_HOOKS
+= GNUPG_REMOVE_GPGV
53 ifneq ($(BR2_PACKAGE_GNUPG_GPGSPLIT
),y
)
54 define GNUPG_REMOVE_GPGSPLIT
55 rm -f
$(TARGET_DIR
)/usr
/bin
/gpgsplit
57 GNUPG_POST_INSTALL_TARGET_HOOKS
+= GNUPG_REMOVE_GPGSPLIT
60 $(eval
$(autotools-package
))