summaryrefslogtreecommitdiffstats
path: root/package/libsoup/libsoup.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libsoup/libsoup.mk')
-rw-r--r--package/libsoup/libsoup.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/libsoup/libsoup.mk b/package/libsoup/libsoup.mk
new file mode 100644
index 000000000..f9e9331d0
--- /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))