2009-11-26 21:54:22 +00:00
|
|
|
# Template file for 'xmlto'
|
|
|
|
pkgname=xmlto
|
2010-04-27 01:58:22 +00:00
|
|
|
version=0.0.23
|
2011-11-23 07:05:05 +00:00
|
|
|
revision=3
|
2011-06-19 15:33:05 +00:00
|
|
|
#distfiles="https://fedorahosted.org/releases/x/m/xmlto/xmlto-$version.tar.bz2"
|
|
|
|
distfiles="http://xbps.nopcode.org/distfiles/xmlto-$version.tar.bz2"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
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>"
|
2010-04-27 01:58:22 +00:00
|
|
|
checksum=a9ffb2760ded55924708cf42f575aaa87cf38fce4d9019ad287213303a8cb1c4
|
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."
|
|
|
|
|
|
|
|
Add_dependency full glibc
|
|
|
|
Add_dependency full libxslt
|
|
|
|
Add_dependency full docbook-xsl
|
2011-11-23 07:05:05 +00:00
|
|
|
Add_dependency full coreutils
|
2010-04-27 02:03:48 +00:00
|
|
|
|
|
|
|
pre_configure()
|
|
|
|
{
|
|
|
|
export PATH="/bin:/usr/bin:$PATH"
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Requires bash!
|
|
|
|
sed -i -e "s|^#!/bin/sh|#!/bin/bash|" ${DESTDIR}/usr/bin/xmlto
|
|
|
|
}
|