2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-02-27 13:38:56 +01:00
|
|
|
#
|
|
|
|
# glib-networking
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-02-27 13:38:56 +01:00
|
|
|
|
2016-03-22 00:43:44 +01:00
|
|
|
GLIB_NETWORKING_VERSION_MAJOR = 2.48
|
2016-05-09 22:34:53 +02:00
|
|
|
GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).2
|
2013-12-02 09:00:02 +01:00
|
|
|
GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(GLIB_NETWORKING_VERSION_MAJOR)
|
2012-02-27 13:38:56 +01:00
|
|
|
GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz
|
|
|
|
GLIB_NETWORKING_INSTALL_STAGING = YES
|
2012-03-19 16:40:07 +01:00
|
|
|
GLIB_NETWORKING_DEPENDENCIES = \
|
2012-09-16 14:57:49 +02:00
|
|
|
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
|
2012-10-22 17:47:52 +02:00
|
|
|
host-pkgconf \
|
2012-03-19 16:40:07 +01:00
|
|
|
host-intltool \
|
|
|
|
libglib2
|
2016-08-20 18:48:51 +02:00
|
|
|
GLIB_NETWORKING_CONF_OPTS = \
|
|
|
|
--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt
|
2014-06-26 21:20:44 +02:00
|
|
|
GLIB_NETWORKING_LICENSE = LGPLv2+
|
|
|
|
GLIB_NETWORKING_LICENSE_FILES = COPYING
|
2015-10-05 21:54:30 +02:00
|
|
|
GLIB_NETWORKING_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) \
|
|
|
|
GIO_MODULE_DIR=/usr/lib/gio/modules install
|
2012-02-27 13:38:56 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
|
|
GLIB_NETWORKING_DEPENDENCIES += gnutls
|
2014-09-27 21:32:44 +02:00
|
|
|
GLIB_NETWORKING_CONF_OPTS += --with-libgcrypt-prefix=$(STAGING_DIR)/usr
|
2012-03-04 20:34:02 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
GLIB_NETWORKING_CONF_OPTS += --without-gnutls
|
2012-02-27 13:38:56 +01:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|