void-packages/srcpkgs/xmlto/template

29 lines
866 B
Text
Raw Normal View History

# Template file for 'xmlto'
pkgname=xmlto
2012-01-12 12:40:27 +00:00
version=0.0.25
2012-11-27 00:56:59 +00:00
revision=3
2012-01-12 12:40:27 +00:00
homepage="http://cyberelk.net/tim/software/xmlto/"
distfiles="https://fedorahosted.org/releases/x/m/xmlto/xmlto-$version.tar.bz2"
build_style=gnu-configure
makedepends="libxslt docbook-xsl>=1.77.1_2"
short_desc="Tool to help transform XML documents into other formats"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-01-12 12:40:27 +00:00
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."
2012-01-12 12:40:27 +00:00
post_install() {
# Requires bash!
2012-01-12 12:40:27 +00:00
sed -i "s|^#!/bin/sh|#!/bin/bash|" ${DESTDIR}/usr/bin/xmlto
}
xmlto_package() {
depends="${makedepends}"
pkg_install() {
vmove usr
}
}