Commit 2f094a92 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

package: add libsoup package

Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #35.
parent 4a653c39
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -155,6 +155,7 @@ source "package/libdnet/Config.in"
source "package/libeXosip2/Config.in"
source "package/libosip2/Config.in"
source "package/libpcap/Config.in"
source "package/libsoup/Config.in"
source "package/libupnp/Config.in"
if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
source "package/lighttpd/Config.in"
+10 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LIBSOUP
	bool "libsoup"
	select BR2_PACKAGE_LIBXML2
	select BR2_PACKAGE_LIBGLIB2
	help
	  libsoup is an HTTP client/server library. It uses GObject
	  and the GLib main loop, to integrate well with GNOME
	  applications.

	  http://live.gnome.org/LibSoup
+30 −0
Original line number Diff line number Diff line
#############################################################
#
# libsoup
#
#############################################################

LIBSOUP_VERSION:=2.4.1
LIBSOUP_SOURCE:=libsoup-$(LIBSOUP_VERSION).tar.gz
LIBSOUP_SITE:=http://ftp.gnome.org/pub/gnome/sources/libsoup/2.4
LIBSOUP_AUTORECONF = NO
LIBSOUP_INSTALL_STAGING = YES
LIBSOUP_INSTALL_TARGET = YES

LIBSOUP_CONF_ENV = \
		ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/bin/glib-genmarshal

ifneq ($(BR2_INET_IPV6),y)
LIBSOUP_CONF_ENV += soup_cv_ipv6=no
endif

LIBSOUP_CONF_OPT = \
	--enable-shared		\
	--enable-static		\
	--disable-explicit-deps \
	--disable-glibtest	\
	--disable-gtk-doc --without-html-dir

LIBSOUP_DEPENDENCIES = uclibc gettext libintl host-pkgconfig host-libglib2 libglib2 libxml2

$(eval $(call AUTOTARGETS,package,libsoup))