2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-02-11 10:26:24 +01:00
|
|
|
#
|
2013-06-06 01:53:28 +02:00
|
|
|
# xmlstarlet
|
2011-02-11 10:26:24 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-02-11 10:26:24 +01:00
|
|
|
|
2013-10-10 03:07:32 +02:00
|
|
|
XMLSTARLET_VERSION = 1.5.0
|
2012-08-26 01:52:48 +02:00
|
|
|
XMLSTARLET_SITE = http://downloads.sourceforge.net/project/xmlstar/xmlstarlet/$(XMLSTARLET_VERSION)
|
2013-10-10 03:05:04 +02:00
|
|
|
XMLSTARLET_LICENSE = MIT
|
|
|
|
XMLSTARLET_LICENSE_FILES = COPYING
|
2011-02-11 10:26:24 +01:00
|
|
|
|
|
|
|
XMLSTARLET_DEPENDENCIES += libxml2 libxslt \
|
|
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
|
2014-08-18 23:35:42 +02:00
|
|
|
XMLSTARLET_CONF_OPT += \
|
2011-02-11 10:26:24 +01:00
|
|
|
--with-libxml-prefix=${STAGING_DIR}/usr \
|
|
|
|
--with-libxslt-prefix=${STAGING_DIR}/usr \
|
|
|
|
--with-libiconv-prefix=${STAGING_DIR}/usr
|
|
|
|
|
2014-08-18 23:35:42 +02:00
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
|
|
XMLSTARLET_CONF_OPT += --enable-static-libs
|
|
|
|
else
|
|
|
|
XMLSTARLET_CONF_OPT += --disable-static-libs
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|