void-packages/srcpkgs/xmlto/template

26 lines
859 B
Plaintext

# Template file for 'xmlto'
pkgname=xmlto
version=0.0.25
revision=1
homepage="http://cyberelk.net/tim/software/xmlto/"
distfiles="https://fedorahosted.org/releases/x/m/xmlto/xmlto-$version.tar.bz2"
build_style=gnu-configure
short_desc="Tool to help transform XML documents into other formats"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum=361cb70d5d0b4b753db00b67ed8bc1d53d0bc96c407d0310aefe854470b7e536
long_desc="
xmlto is a front-end to an XSL toolchain. It chooses an appropriate
stylesheet for the conversion you want and applies it using an
external XSLT processor. It also performs any necessary post-processing."
Add_dependency full libxslt
Add_dependency full docbook-xsl
Add_dependency full coreutils
Add_dependency full grep
post_install() {
# Requires bash!
sed -i "s|^#!/bin/sh|#!/bin/bash|" ${DESTDIR}/usr/bin/xmlto
}