package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / xmlstarlet / xmlstarlet.mk
blobe0abf04502cac2fb948ddebc702550a01c8f5484
1 ################################################################################
3 # xmlstarlet
5 ################################################################################
7 XMLSTARLET_VERSION = 1.5.0
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))