# HG changeset patch # User Aleksej Bobylev # Date 1468068482 -10800 # Node ID c6ff64491e71e369cf9f928069a0be5aeaa59505 # Parent 5470f0dedfefb5380789cf463b6d8e632998f83f Add xmlstarlet diff -r 5470f0dedfef -r c6ff64491e71 xmlstarlet/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xmlstarlet/description.txt Sat Jul 09 15:48:02 2016 +0300 @@ -0,0 +1,4 @@ +XMLStarlet is a set of command line utilities (tools) to transform, query, +validate, and edit XML documents and files using simple set of shell commands +in similar way it is done for text files with UNIX grep, sed, awk, diff, patch, +join, etc utilities. diff -r 5470f0dedfef -r c6ff64491e71 xmlstarlet/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xmlstarlet/receipt Sat Jul 09 15:48:02 2016 +0300 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="xmlstarlet" +VERSION="1.6.1" +CATEGORY="development" +SHORT_DESC="Command Line XML Toolkit" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="MIT" +WEB_SITE="http://xmlstar.sourceforge.net/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/xmlstar/$TARBALL" + +DEPENDS="libxml2 libxslt zlib" +BUILD_DEPENDS="libxslt-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS && make && make install + + mv $install/usr/bin/xml $install/usr/bin/xmlstarlet +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_files xmlstarlet +}