mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-11-24 13:40:33 -10:00
This variable was added in commit
62c7857dfa ("package/libassuan: add host
variant"), but in fact does not make sense for a host
package. Indeed, config scripts only need to be tweaked for target
packages, and in any case, the <pkg>_CONFIG_SCRIPTS variable is only
used during staging installation (to tweak the config scripts) and
during target installation (to remove them), and neither staging nor
target installation are relevant for host packages.
Therefore, let's remove this small piece of dead code.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 lines
1.0 KiB
Makefile
28 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# libassuan
|
|
#
|
|
################################################################################
|
|
|
|
LIBASSUAN_VERSION = 2.5.7
|
|
LIBASSUAN_SITE = https://gnupg.org/ftp/gcrypt/libassuan
|
|
LIBASSUAN_SOURCE = libassuan-$(LIBASSUAN_VERSION).tar.bz2
|
|
LIBASSUAN_LICENSE = LGPL-2.1+ (library), GPL-3.0 (tests, doc)
|
|
LIBASSUAN_LICENSE_FILES = COPYING.LIB COPYING
|
|
LIBASSUAN_INSTALL_STAGING = YES
|
|
LIBASSUAN_DEPENDENCIES = libgpg-error
|
|
LIBASSUAN_CONF_OPTS = \
|
|
--with-gpg-error-prefix=$(STAGING_DIR)/usr
|
|
LIBASSUAN_CONFIG_SCRIPTS = libassuan-config
|
|
|
|
HOST_LIBASSUAN_DEPENDENCIES = host-libgpg-error
|
|
HOST_LIBASSUAN_CONF_OPTS = --with-gpg-error-prefix=$(HOST_DIR)
|
|
|
|
# Force the path to "gpgrt-config" (from the libgpg-error package) to
|
|
# avoid using the one on host, if present.
|
|
LIBASSUAN_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config
|
|
HOST_LIBASSUAN_CONF_ENV += GPGRT_CONFIG=$(HOST_DIR)/bin/gpgrt-config
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|