Blame view

buildroot/buildroot-2016.08.1/package/glib-networking/glib-networking.mk 1.1 KB
6b13f685e   김민수   BSP 최초 추가
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
29
30
31
  ################################################################################
  #
  # glib-networking
  #
  ################################################################################
  
  GLIB_NETWORKING_VERSION_MAJOR = 2.48
  GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).2
  GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(GLIB_NETWORKING_VERSION_MAJOR)
  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) \
  	host-pkgconf \
  	host-intltool \
  	libglib2
  GLIB_NETWORKING_CONF_OPTS = \
  	--with-ca-certificates=/etc/ssl/certs/ca-certificates.crt
  GLIB_NETWORKING_LICENSE = LGPLv2+
  GLIB_NETWORKING_LICENSE_FILES = COPYING
  GLIB_NETWORKING_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) \
  	GIO_MODULE_DIR=/usr/lib/gio/modules install
  
  ifeq ($(BR2_PACKAGE_GNUTLS),y)
  GLIB_NETWORKING_DEPENDENCIES += gnutls
  GLIB_NETWORKING_CONF_OPTS += --with-libgcrypt-prefix=$(STAGING_DIR)/usr
  else
  GLIB_NETWORKING_CONF_OPTS += --without-gnutls
  endif
  
  $(eval $(autotools-package))