wok-next view xmlto/receipt @ rev 18841

man2html: fix source version
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 22 17:42:13 2016 +0200 (2016-01-22)
parents 9568a9188f04
children 91a99d774072
line source
1 # SliTaz package receipt.
3 PACKAGE="xmlto"
4 VERSION="0.0.26"
5 CATEGORY="utilities"
6 LICENSE="GPL"
7 SHORT_DESC="Tool for converting XML files to various formats"
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://cyberelk.net/tim/software/xmlto/"
11 WGET_URL="https://fedorahosted.org/releases/x/m/$PACKAGE/$TARBALL"
13 DEPENDS="libxslt perl-yaml-syck perl-test-pod bash"
14 BUILD_DEPENDS="docbook-xsl util-linux-getopt flex"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
25 for file in $install/usr/share/xmlto/format/*/*; do
26 sed -i "s|http://docbook.sourceforge.net/release/xsl/current/|\
27 /usr/share/xml/docbook/stylesheet/docbook-xsl/|" "$file"
28 done
29 }
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/xmlto
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/xmlto/format $fs/usr/share/xmlto
36 }