xmlto: requires bash\!
--HG-- extra : convert_revision : b48405011f26e73734f1cb44a22c32a5fa1722bb
This commit is contained in:
parent
ecf1990d9e
commit
b59a6e55ff
1 changed files with 12 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'xmlto'
|
# Template file for 'xmlto'
|
||||||
pkgname=xmlto
|
pkgname=xmlto
|
||||||
version=0.0.23
|
version=0.0.23
|
||||||
|
revision=1
|
||||||
distfiles="https://fedorahosted.org/releases/x/m/xmlto/xmlto-$version.tar.bz2"
|
distfiles="https://fedorahosted.org/releases/x/m/xmlto/xmlto-$version.tar.bz2"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
short_desc="Tool to help transform XML documents into other formats"
|
short_desc="Tool to help transform XML documents into other formats"
|
||||||
|
@ -14,3 +15,14 @@ long_desc="
|
||||||
Add_dependency full glibc
|
Add_dependency full glibc
|
||||||
Add_dependency full libxslt
|
Add_dependency full libxslt
|
||||||
Add_dependency full docbook-xsl
|
Add_dependency full docbook-xsl
|
||||||
|
|
||||||
|
pre_configure()
|
||||||
|
{
|
||||||
|
export PATH="/bin:/usr/bin:$PATH"
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
# Requires bash!
|
||||||
|
sed -i -e "s|^#!/bin/sh|#!/bin/bash|" ${DESTDIR}/usr/bin/xmlto
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue