From: Peter Korsgaard Date: Sun, 26 Apr 2009 21:40:32 +0000 (-0000) Subject: package: add libsoup package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f094a92471250e2d70c7f42799239c30aa45c53;p=buildroot.git package: add libsoup package Based on patch by Sven Neumann , closes #35. --- diff --git a/package/Config.in b/package/Config.in index 4189af009d..a51a00a16b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/libsoup/Config.in b/package/libsoup/Config.in new file mode 100644 index 0000000000..6bccd11161 --- /dev/null +++ b/package/libsoup/Config.in @@ -0,0 +1,10 @@ +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 diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk new file mode 100644 index 0000000000..f9e9331d0f --- /dev/null +++ b/package/libsoup/libsoup.mk @@ -0,0 +1,30 @@ +############################################################# +# +# 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))