2009-11-26 21:54:22 +00:00
|
|
|
# Template file for 'xmlto'
|
|
|
|
pkgname=xmlto
|
2012-01-12 12:40:27 +00:00
|
|
|
version=0.0.25
|
2012-03-06 14:57:40 +00:00
|
|
|
revision=1
|
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"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-05-23 16:26:56 +00:00
|
|
|
fulldepends="libxslt docbook-xsl coreutils grep"
|
2009-11-26 21:54:22 +00:00
|
|
|
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
|
2009-11-26 21:54:22 +00: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."
|
|
|
|
|
2010-04-27 02:03:48 +00:00
|
|
|
|
2012-01-12 12:40:27 +00:00
|
|
|
post_install() {
|
2010-04-27 02:03:48 +00:00
|
|
|
# Requires bash!
|
2012-01-12 12:40:27 +00:00
|
|
|
sed -i "s|^#!/bin/sh|#!/bin/bash|" ${DESTDIR}/usr/bin/xmlto
|
2010-04-27 02:03:48 +00:00
|
|
|
}
|