Files
haikuports/app-text/xmlto/xmlto-0.0.26.recipe
2015-08-20 19:00:14 +02:00

53 lines
1.2 KiB
Bash

SUMMARY="Shell-script tool for converting XML files to various formats"
DESCRIPTION="At the moment xmlto supports conversion 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, epub).
It uses passivetex(default)/fop/dblatex for processing and provides an easy \
to use command line frontend to avoid having to remember many long options \
or searching for the correct syntax."
HOMEPAGE="https://fedorahosted.org/xmlto/"
COPYRIGHT="2009 Tim Waugh
2013 Ondrej Vasik"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://fedorahosted.org/releases/x/m/xmlto/xmlto-$portVersion.tar.gz"
CHECKSUM_SHA256="cfd8d2a26077be1d5566dfe22dd66099ae4f4600dea97d6e113a2cc5b8708977"
PATCHES="xmlto-$portVersion.patch"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
xmlto = $portVersion compat >= 0
cmd:xmlto
cmd:xmlif
"
REQUIRES="
haiku
cmd:getopt
cmd:xmllint
cmd:xsltproc
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:awk
cmd:getopt
cmd:flex
cmd:make
"
BUILD()
{
runConfigure --omit-dirs binDir ./configure --bindir=$prefix/bin
make $jobArgs
}
INSTALL()
{
make install
}