aboutsummaryrefslogtreecommitdiff
path: root/package/xmlstarlet/xmlstarlet.mk
blob: 9386d4a64f81b6f4c691b04dfe93d94cd66381fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
################################################################################
#
# xmlstarlet
#
################################################################################

XMLSTARLET_VERSION = 1.5.0
XMLSTARLET_SITE = http://downloads.sourceforge.net/project/xmlstar/xmlstarlet/$(XMLSTARLET_VERSION)
XMLSTARLET_LICENSE = MIT
XMLSTARLET_LICENSE_FILES = COPYING

XMLSTARLET_DEPENDENCIES += libxml2 libxslt \
	$(if $(BR2_PACKAGE_LIBICONV),libiconv)

XMLSTARLET_CONF_OPTS += \
	--with-libxml-prefix=${STAGING_DIR}/usr \
	--with-libxslt-prefix=${STAGING_DIR}/usr \
	--with-libiconv-prefix=${STAGING_DIR}/usr

ifeq ($(BR2_PREFER_STATIC_LIB),y)
XMLSTARLET_CONF_OPTS += --enable-static-libs
else
XMLSTARLET_CONF_OPTS += --disable-static-libs
endif

$(eval $(autotools-package))