c19bf136bd
When libgcrypt support is enabled the configure script will try to find libgcrypt-config in the PATH. If the host distribution has it then brokeness ensues. Fixes: http://autobuild.buildroot.net/results/eca/eca10b8360354e7e51406f7ac942d343987bde5e/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
26 lines
825 B
Makefile
26 lines
825 B
Makefile
################################################################################
|
|
#
|
|
# libsecret
|
|
#
|
|
################################################################################
|
|
|
|
LIBSECRET_VERSION = 0.15
|
|
LIBSECRET_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsecret/$(LIBSECRET_VERSION)
|
|
LIBSECRET_SOURCE = libsecret-$(LIBSECRET_VERSION).tar.xz
|
|
LIBSECRET_LICENSE = LGPLv2.1+
|
|
LIBSECRET_LICENSE_FILES = COPYING
|
|
LIBSECRET_INSTALL_STAGING = YES
|
|
|
|
LIBSECRET_DEPENDENCIES = libglib2 host-intltool
|
|
LIBSECRET_CONF_OPT = --disable-manpages --disable-strict --disable-coverage --enable-vala=no
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
|
|
LIBSECRET_DEPENDENCIES += libgcrypt
|
|
LIBSECRET_CONF_OPT += --enable-gcrypt \
|
|
--with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
|
else
|
|
LIBSECRET_CONF_OPT += --disable-gcrypt
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|