# $Id$ PNAME="xmlto" PVER="0.0.22" PBUILD="r1" PCATEGORIE="app-text" STATE="unstable" DESCRIPTION="A bash script for converting XML and DocBook formatted documents to a variety of output formats." HOMEPAGE="https://fedorahosted.org/xmlto" DEPEND=">= dev-libs/libxslt-1.1.24 >= app-text/docbook-xsl-stylesheets-1.74 >= app-text/docbook-xml-dtd-4.5 >= app-shells/bash-3 >= sys-apps/coreutils-6.12" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild mtools SRC_URI=( https://fedorahosted.org/xmlto/browser/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd https://fedorahosted.org/releases/x/m/xmlto/ | lasttarball" src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} prefix=/usr install || die minstalldocs AUTHORS ChangeLog FAQ NEWS README || die # xml doc minstalldir /usr/share/doc/${PNAME}-${PVER}/xml || die minstallfile doc/\*.xml /usr/share/doc/${PNAME}-${PVER}/xml || die }