summaryrefslogtreecommitdiffstats
path: root/package/glib-networking
diff options
context:
space:
mode:
authorSven Neumann <s.neumann@raumfeld.com>2012-02-27 13:38:56 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-02-28 09:22:21 +0100
commit01ffa2e8684d2a3114469cc423e6ee992fd71599 (patch)
treeca4c1b503ec5da21733fcf2416cf29d5e2a66487 /package/glib-networking
parent4fd8bdc7da9e69d7c7515f1577de3e5c427dde89 (diff)
downloadbuildroot-novena-01ffa2e8684d2a3114469cc423e6ee992fd71599.tar.gz
buildroot-novena-01ffa2e8684d2a3114469cc423e6ee992fd71599.zip
glib-networking: new package
glib-networking provides network-related GIO modules for glib. It is used by newer versions of libsoup to implement SSL/TLS support. Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/glib-networking')
-rw-r--r--package/glib-networking/Config.in11
-rw-r--r--package/glib-networking/glib-networking.mk22
2 files changed, 33 insertions, 0 deletions
diff --git a/package/glib-networking/Config.in b/package/glib-networking/Config.in
new file mode 100644
index 000000000..16f0d4a22
--- /dev/null
+++ b/package/glib-networking/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_GLIB_NETWORKING
+ bool "glib-networking"
+ depends on BR2_USE_WCHAR # glib2
+ select BR2_PACKAGE_LIBGLIB2
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
+ select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT
+ help
+ Network-related GIO modules for glib.
+
+comment "glib-networking requires a toolchain with WCHAR support"
+ depends on !BR2_USE_WCHAR
diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk
new file mode 100644
index 000000000..b1ad62110
--- /dev/null
+++ b/package/glib-networking/glib-networking.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# glib-networking
+#
+#############################################################
+
+GLIB_NETWORKING_MAJOR_VERSION = 2.30
+GLIB_NETWORLING_MINOR_VERSION = 2
+GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_MAJOR_VERSION).$(GLIB_NETWORLING_MINOR_VERSION)
+GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(GLIB_NETWORKING_MAJOR_VERSION)
+GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz
+
+GLIB_NETWORKING_INSTALL_STAGING = YES
+
+GLIB_NETWORKING_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) host-pkg-config libglib2
+
+ifeq ($(BR2_PACKAGE_GNUTLS),y)
+GLIB_NETWORKING_DEPENDENCIES += gnutls
+GLIB_NETWORKING_CONF_OPT = --with-libgcrypt-prefix=$(STAGING_DIR)/usr
+endif
+
+$(eval $(call AUTOTARGETS))