xmlto: new module added

This commit is contained in:
2018-04-17 17:29:14 +02:00
parent da1c901ab9
commit 625139f042
3 changed files with 45 additions and 0 deletions

1
Tools/xmlto/0/variants Normal file
View File

@@ -0,0 +1 @@
xmlto/0.0.28 stable

26
Tools/xmlto/build Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env modbuild
SOURCE_URL="https://releases.pagure.org/$P/$P-$V.tar.bz2"
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
|| exit 1
}
pbuild::compile_in_sourcetree
pbuild::add_to_group 'Tools'
pbuild::set_docfiles \
AUTHORS \
COPYING \
FAQ \
NEWS \
README \
THANKS
pbuild::make_all
# Local Variables:
# mode: sh
# sh-basic-offset: 8
# tab-width: 8
# End:

18
Tools/xmlto/modulefile Normal file
View File

@@ -0,0 +1,18 @@
#%Module1.0
module-whatis "script to convert XML to other formats"
module-url "https://pagure.io/xmlto"
module-license "GPL v2"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
Utility xmlto is a simple shell script for converting XML files to various
formats. It serves as easy to use command line frontend to make fine output
without remembering many long options and searching for the syntax of the
backends.
At the moment it supports conersion from docbook, xhtml1 and fo format to
various output formats(awt, fo, htmlhelp, javahelp, mif, pdf, svg, xhtml,
dvi, html, html-nochunks, man , pcl, ps, txt, xhtml-nochunks)
"