2009-04-26 23:40:32 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libsoup
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-02-27 13:38:57 +01:00
|
|
|
LIBSOUP_MAJOR_VERSION = 2.36
|
|
|
|
LIBSOUP_MINOR_VERSION = 1
|
|
|
|
LIBSOUP_VERSION = $(LIBSOUP_MAJOR_VERSION).$(LIBSOUP_MINOR_VERSION)
|
|
|
|
LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.bz2
|
|
|
|
LIBSOUP_SITE = http://ftp.gnome.org/pub/gnome/sources/libsoup/$(LIBSOUP_MAJOR_VERSION)
|
2009-04-26 23:40:32 +02:00
|
|
|
LIBSOUP_INSTALL_STAGING = YES
|
|
|
|
|
2009-09-23 14:55:52 +02:00
|
|
|
LIBSOUP_CONF_ENV = ac_cv_path_GLIB_GENMARSHAL=$(LIBGLIB2_HOST_BINARY)
|
2009-04-26 23:40:32 +02:00
|
|
|
|
|
|
|
ifneq ($(BR2_INET_IPV6),y)
|
|
|
|
LIBSOUP_CONF_ENV += soup_cv_ipv6=no
|
|
|
|
endif
|
|
|
|
|
2012-02-27 13:38:57 +01:00
|
|
|
LIBSOUP_CONF_OPT = --disable-glibtest --without-gnome
|
2009-04-26 23:40:32 +02:00
|
|
|
|
2010-05-24 21:17:55 +02:00
|
|
|
LIBSOUP_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) host-pkg-config host-libglib2 libglib2 libxml2
|
2009-04-26 23:40:32 +02:00
|
|
|
|
2011-08-11 11:57:41 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBSOUP_SSL),y)
|
2012-02-27 13:38:57 +01:00
|
|
|
LIBSOUP_DEPENDENCIES += glib-networking
|
2011-08-11 11:57:41 +02:00
|
|
|
else
|
2012-02-27 13:38:57 +01:00
|
|
|
LIBSOUP_CONF_OPT += --disable-tls-check
|
2011-08-11 11:57:41 +02:00
|
|
|
endif
|
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|