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 # gnupg doesn't support assembly for coldfire
17 ifeq ($(BR2_m68k_cf
),y
)
18 GNUPG_CONF_OPTS
+= --disable-asm
21 ifeq ($(BR2_PACKAGE_BZIP2
),y
)
22 GNUPG_CONF_OPTS
+= --enable-bzip2
23 GNUPG_DEPENDENCIES
+= bzip2
26 ifeq ($(BR2_PACKAGE_LIBCURL
),y
)
27 GNUPG_CONF_ENV
+= ac_cv_path__libcurl_config
=$(STAGING_DIR
)/usr
/bin
/curl-config
28 GNUPG_DEPENDENCIES
+= libcurl
30 GNUPG_CONF_OPTS
+= --without-libcurl
33 ifeq ($(BR2_PACKAGE_READLINE
),y
)
34 GNUPG_DEPENDENCIES
+= readline
36 GNUPG_CONF_OPTS
+= --without-readline
39 ifeq ($(BR2_PACKAGE_GNUPG_AES
),y
)
40 GNUPG_CONF_OPTS
+= --enable-aes
42 GNUPG_CONF_OPTS
+= --disable-aes
45 ifeq ($(BR2_PACKAGE_GNUPG_RSA
),y
)
46 GNUPG_CONF_OPTS
+= --enable-rsa
48 GNUPG_CONF_OPTS
+= --disable-rsa
51 ifneq ($(BR2_PACKAGE_GNUPG_GPGV
),y
)
52 define GNUPG_REMOVE_GPGV
53 rm -f
$(TARGET_DIR
)/usr
/bin
/gpgv
55 GNUPG_POST_INSTALL_TARGET_HOOKS
+= GNUPG_REMOVE_GPGV
58 ifneq ($(BR2_PACKAGE_GNUPG_GPGSPLIT
),y
)
59 define GNUPG_REMOVE_GPGSPLIT
60 rm -f
$(TARGET_DIR
)/usr
/bin
/gpgsplit
62 GNUPG_POST_INSTALL_TARGET_HOOKS
+= GNUPG_REMOVE_GPGSPLIT
65 $(eval
$(autotools-package
))