wok rev 19299
Add xmlstarlet
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 09 15:48:02 2016 +0300 (2016-07-09) |
parents | 5470f0dedfef |
children | 731400f60dfd |
files | xmlstarlet/description.txt xmlstarlet/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xmlstarlet/description.txt Sat Jul 09 15:48:02 2016 +0300 1.3 @@ -0,0 +1,4 @@ 1.4 +XMLStarlet is a set of command line utilities (tools) to transform, query, 1.5 +validate, and edit XML documents and files using simple set of shell commands 1.6 +in similar way it is done for text files with UNIX grep, sed, awk, diff, patch, 1.7 +join, etc utilities.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/xmlstarlet/receipt Sat Jul 09 15:48:02 2016 +0300 2.3 @@ -0,0 +1,28 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="xmlstarlet" 2.7 +VERSION="1.6.1" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Command Line XML Toolkit" 2.10 +MAINTAINER="al.bobylev@gmail.com" 2.11 +LICENSE="MIT" 2.12 +WEB_SITE="http://xmlstar.sourceforge.net/" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WGET_URL="$SF_MIRROR/xmlstar/$TARBALL" 2.15 + 2.16 +DEPENDS="libxml2 libxslt zlib" 2.17 +BUILD_DEPENDS="libxslt-dev" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + ./configure $CONFIGURE_ARGS && make && make install 2.23 + 2.24 + mv $install/usr/bin/xml $install/usr/bin/xmlstarlet 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + cook_copy_files xmlstarlet 2.31 +}