package: add libsoup package

Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #35.
This commit is contained in:
Peter Korsgaard 2009-04-26 21:40:32 +00:00
parent 4a653c39d4
commit 2f094a9247
3 changed files with 41 additions and 0 deletions

View 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"

10
package/libsoup/Config.in Normal file
View File

@ -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

View File

@ -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))