summaryrefslogtreecommitdiffstats
path: root/package/glib-networking/glib-networking.mk
blob: 9165835c39bf01eccc902478e166368429ca7eda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#############################################################
#
# 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 \
	host-intltool \
	libglib2

ifeq ($(BR2_PACKAGE_GNUTLS),y)
GLIB_NETWORKING_DEPENDENCIES += gnutls
GLIB_NETWORKING_CONF_OPT += --with-libgcrypt-prefix=$(STAGING_DIR)/usr
else
GLIB_NETWORKING_CONF_OPT += --without-gnutls
endif

$(eval $(call AUTOTARGETS))