efivar: bump to version 30
[buildroot-gz.git] / package / xmlstarlet / xmlstarlet.mk
blob98efd077308694e174ddbde4cf27d8f31ec09a9e
1 ################################################################################
3 # xmlstarlet
5 ################################################################################
7 XMLSTARLET_VERSION = 1.6.1
8 XMLSTARLET_SITE = http://downloads.sourceforge.net/project/xmlstar/xmlstarlet/$(XMLSTARLET_VERSION)
9 XMLSTARLET_LICENSE = MIT
10 XMLSTARLET_LICENSE_FILES = COPYING
11 # We're patching configure.ac
12 XMLSTARLET_AUTORECONF = YES
14 XMLSTARLET_DEPENDENCIES += libxml2 libxslt \
15 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
17 XMLSTARLET_CONF_OPTS += \
18 --with-libxml-prefix=$(STAGING_DIR)/usr \
19 --with-libxslt-prefix=$(STAGING_DIR)/usr \
20 --with-libiconv-prefix=$(STAGING_DIR)/usr
22 ifeq ($(BR2_STATIC_LIBS),y)
23 XMLSTARLET_CONF_OPTS += --enable-static-libs
24 XMLSTARLET_CONF_ENV = LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libxml-2.0`"
25 else
26 XMLSTARLET_CONF_OPTS += --disable-static-libs
27 endif
29 $(eval $(autotools-package))