a5ce857674
Use the <pkg>_CONFIG_SCRIPTS mechanism in all packages for which it does all what the package was doing. A few packages, like libxslt, are for now left out, since they need some additional fixup (for example a fixup of includedir). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
30 lines
791 B
Makefile
30 lines
791 B
Makefile
#############################################################
|
|
#
|
|
# libgcrypt
|
|
#
|
|
#############################################################
|
|
|
|
LIBGCRYPT_VERSION = 1.5.0
|
|
LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2
|
|
LIBGCRYPT_LICENSE = LGPLv2.1+
|
|
LIBGCRYPT_LICENSE_FILES = COPYING.LIB
|
|
LIBGCRYPT_SITE = ftp://ftp.gnupg.org/gcrypt/libgcrypt
|
|
LIBGCRYPT_INSTALL_STAGING = YES
|
|
LIBGCRYPT_DEPENDENCIES = libgpg-error
|
|
LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config
|
|
|
|
LIBGCRYPT_CONF_ENV = \
|
|
ac_cv_sys_symbol_underscore=no
|
|
LIBGCRYPT_CONF_OPT = \
|
|
--disable-optimization \
|
|
--with-gpg-error-prefix=$(STAGING_DIR)/usr
|
|
|
|
# Tests use fork()
|
|
define LIBGCRYPT_DISABLE_TESTS
|
|
$(SED) 's/ tests//' $(@D)/Makefile.in
|
|
endef
|
|
|
|
LIBGCRYPT_POST_PATCH_HOOKS += LIBGCRYPT_DISABLE_TESTS
|
|
|
|
$(eval $(autotools-package))
|