Blame view

buildroot/buildroot-2016.08.1/package/libgpg-error/libgpg-error.mk 847 Bytes
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
  ################################################################################
  #
  # libgpg-error
  #
  ################################################################################
  
  LIBGPG_ERROR_VERSION = 1.24
  LIBGPG_ERROR_SITE = ftp://ftp.gnupg.org/gcrypt/libgpg-error
  LIBGPG_ERROR_LICENSE = GPLv2+, LGPLv2.1+
  LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB
  LIBGPG_ERROR_INSTALL_STAGING = YES
  LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config
  
  ifeq ($(BR2_PACKAGE_GETTEXT),y)
  LIBGPG_ERROR_DEPENDENCIES += gettext
  endif
  
  define LIBGPG_ERROR_FIX_CROSS_COMPILATION
  	cd $(@D)/src/syscfg && \
  	ln -s lock-obj-pub.$(call qstrip, $(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG)).h \
  		lock-obj-pub.$(GNU_TARGET_NAME).h
  endef
  LIBGPG_ERROR_PRE_CONFIGURE_HOOKS += LIBGPG_ERROR_FIX_CROSS_COMPILATION
  
  LIBGPG_ERROR_CONF_OPTS = --disable-tests
  
  $(eval $(autotools-package))