python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / xmlstarlet / xmlstarlet.mk
blob61d38f29ff553bd9e777cc5734da3a782af27fa6
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
12 XMLSTARLET_DEPENDENCIES += libxml2 libxslt \
13 $(if $(BR2_PACKAGE_LIBICONV),libiconv)
15 XMLSTARLET_CONF_OPTS += \
16 --with-libxml-prefix=$(STAGING_DIR)/usr \
17 --with-libxslt-prefix=$(STAGING_DIR)/usr \
18 --with-libiconv-prefix=$(STAGING_DIR)/usr
20 ifeq ($(BR2_STATIC_LIBS),y)
21 XMLSTARLET_CONF_OPTS += --enable-static-libs
22 XMLSTARLET_CONF_ENV = LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libxml-2.0 libexslt` $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),-lintl)"
23 else
24 XMLSTARLET_CONF_OPTS += --disable-static-libs
25 endif
27 $(eval $(autotools-package))