]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package: add libsoup package
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 Apr 2009 21:40:32 +0000 (21:40 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 Apr 2009 21:40:32 +0000 (21:40 -0000)
Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #35.

package/Config.in
package/libsoup/Config.in [new file with mode: 0644]
package/libsoup/libsoup.mk [new file with mode: 0644]

index 4189af009d091bc4a9d8a803d89642c2d94d4628..a51a00a16b3e9d57b9bd4c785b8a4a3f68b43315 100644 (file)
@@ -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 (file)
index 0000000..6bccd11
--- /dev/null
@@ -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 (file)
index 0000000..f9e9331
--- /dev/null
@@ -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))