I have been looking briefly at xmlstarlet [1] and have some interest in
seeing this in Cygwin. However, it is rather heavily dependent on
libxml2 and libxslt insomuch as the output of xmlstarlet can vary,
depending on which versions of these libraries it is linked against.
Yaakov: As maintainer of libxml2 and libxslt, I thought I would offer
you first refusal of this package. If you're interested then I hope the
attached cygport files are useful. Otherwise, I will ITP this package
myself.
Cheers,
Dave.
[1] http://xmlstar.sourceforge.net/
SUMMARY="XMLStarlet is a command line XML toolkit which can be used to
transform, query, validate, and edit XML documents using a simple set of shell
commands."
DESCRIPTION="XMLStarlet is a set of command line utilities (tools) which can be
used to transform, query, validate, and edit XML documents and files using
simple set of shell commands in similar way it is done for plain text files
using UNIX grep, sed, awk, diff, patch, join, etc commands.
This set of command line utilities can be used by those who deal with many XML
documents on UNIX shell command prompt as well as for automated XML processing
with shell scripts."
CATEGORY="Utils"
HOMEPAGE="http://xmlstar.sourceforge.net/"
SRC_URI="mirror://sourceforge/xmlstar/${P}.tar.gz"
src_compile() {
cd ${S}
cygautoreconf
cd ${B}
cygconf --with-libxml-include-prefix=/usr/include/libxml2
--program-suffix=starlet
cygmake
}
src_test() {
cd ${B}
make check EXEEXT=
}
src_install() {
cd ${B}
make install-exec DESTDIR=../inst
make install-data DESTDIR=../inst program_transform_name=
docdir=${D}/usr/share/doc/${PN}
mkdir -p ${docdir}/html ${docdir}/pdf
cp ${S}/doc/xmlstarlet-ug.html ${S}/doc/html.css ${docdir}/html
cp ${S}/doc/xmlstarlet-ug.pdf ${docdir}/pdf
cd ${D}/usr/bin
}
SUMMARY="XMLStarlet is a command line XML toolkit which can be used to
transform, query, validate, and edit XML documents using a simple set of shell
commands."
DESCRIPTION="XMLStarlet is a set of command line utilities (tools) which can be
used to transform, query, validate, and edit XML documents and files using
simple set of shell commands in similar way it is done for plain text files
using UNIX grep, sed, awk, diff, patch, join, etc commands.
This set of command line utilities can be used by those who deal with many XML
documents on UNIX shell command prompt as well as for automated XML processing
with shell scripts."
CATEGORY="Utils"
HOMEPAGE="http://xmlstar.sourceforge.net/"
SRC_URI="mirror://sourceforge/xmlstar/${P}.tar.gz"
src_compile() {
cd ${S}
cygautoreconf
lndirs
cd ${B}
cygconf --with-libxml-include-prefix=/usr/include/libxml2
--program-suffix=starlet
cygmake
}
src_test() {
cd ${B}
make check EXEEXT=
}
src_install() {
cd ${B}
make install-exec DESTDIR=${D}
make install-data DESTDIR=${D} program_transform_name=
}
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple