2009-11-26 22:54:22 +01:00
|
|
|
# Template file for 'xmlto'
|
|
|
|
pkgname=xmlto
|
2012-01-12 13:40:27 +01:00
|
|
|
version=0.0.25
|
2012-03-06 15:57:40 +01:00
|
|
|
revision=1
|
2012-01-12 13:40:27 +01:00
|
|
|
homepage="http://cyberelk.net/tim/software/xmlto/"
|
|
|
|
distfiles="https://fedorahosted.org/releases/x/m/xmlto/xmlto-$version.tar.bz2"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-11-26 22:54:22 +01:00
|
|
|
short_desc="Tool to help transform XML documents into other formats"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-01-12 13:40:27 +01:00
|
|
|
license="GPL-2"
|
|
|
|
checksum=361cb70d5d0b4b753db00b67ed8bc1d53d0bc96c407d0310aefe854470b7e536
|
2009-11-26 22:54:22 +01:00
|
|
|
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
|
2011-11-23 08:05:05 +01:00
|
|
|
Add_dependency full coreutils
|
2012-03-06 15:57:40 +01:00
|
|
|
Add_dependency full grep
|
2010-04-27 04:03:48 +02:00
|
|
|
|
2012-01-12 13:40:27 +01:00
|
|
|
post_install() {
|
2010-04-27 04:03:48 +02:00
|
|
|
# Requires bash!
|
2012-01-12 13:40:27 +01:00
|
|
|
sed -i "s|^#!/bin/sh|#!/bin/bash|" ${DESTDIR}/usr/bin/xmlto
|
2010-04-27 04:03:48 +02:00
|
|
|
}
|