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-09-27 21:32:44 +02:00
|
|
|
XMLSTARLET_CONF_OPTS += \
|
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-12-03 22:41:29 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
XMLSTARLET_CONF_OPTS += --enable-static-libs
|
2014-08-18 23:35:42 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
XMLSTARLET_CONF_OPTS += --disable-static-libs
|
2014-08-18 23:35:42 +02:00
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|