diff options
author | Nate Ford <nford@westpond.com> | 2011-02-11 10:26:24 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-02-11 10:26:24 +0100 |
commit | e0efb0d334dc3d882e286027e6c583d18ff9396c (patch) | |
tree | f6f118b7428d78d6f2044663561f8c35ed26007f /package/xmlstarlet/xmlstarlet.mk | |
parent | 7beeb2f820d5d5dfc8ce60b48234d855412bc135 (diff) | |
download | buildroot-novena-e0efb0d334dc3d882e286027e6c583d18ff9396c.tar.gz buildroot-novena-e0efb0d334dc3d882e286027e6c583d18ff9396c.zip |
package: add xmlstarlet package
[Peter: don't link statically, only depend on iconv if !BR_ENABLE_LOCALE]
Signed-off-by: Nate Ford <nford@westpond.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/xmlstarlet/xmlstarlet.mk')
-rw-r--r-- | package/xmlstarlet/xmlstarlet.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/xmlstarlet/xmlstarlet.mk b/package/xmlstarlet/xmlstarlet.mk new file mode 100644 index 000000000..d7613f808 --- /dev/null +++ b/package/xmlstarlet/xmlstarlet.mk @@ -0,0 +1,21 @@ +############################################################# +# +# XMLstarlet +# +############################################################# + +XMLSTARLET_VERSION:=1.0.4 +XMLSTARLET_SOURCE:=xmlstarlet-$(XMLSTARLET_VERSION).tar.gz +XMLSTARLET_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/xmlstar/xmlstarlet/$(XMLSTARLET_VERSION) +XMLSTARLET_INSTALL_STAGING:=NO +XMLSTARLET_INSTALL_TARGET:=YES + +XMLSTARLET_DEPENDENCIES += libxml2 libxslt \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) + +XMLSTARLET_CONF_OPT += --disable-static-libs \ + --with-libxml-prefix=${STAGING_DIR}/usr \ + --with-libxslt-prefix=${STAGING_DIR}/usr \ + --with-libiconv-prefix=${STAGING_DIR}/usr + +$(eval $(call AUTOTARGETS,package,xmlstarlet)) |