wok-next view xmlto/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 0e7893ac206d
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xmlto"
4 VERSION="0.0.28"
5 CATEGORY="utilities"
6 LICENSE="GPL"
7 SHORT_DESC="Tool for converting XML files to various formats"
8 MAINTAINER="yuripourre@gmail.com"
9 WEB_SITE="http://cyberelk.net/tim/software/xmlto/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/pst/xmlto.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://releases.pagure.org/xmlto/$TARBALL"
15 BUILD_DEPENDS="docbook-xsl util-linux-getopt flex"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$DESTDIR install
22 for file in $install/usr/share/xmlto/format/*/*; do
23 sed -i "s|http://docbook.sourceforge.net/release/xsl/current/|\
24 /usr/share/xml/docbook/stylesheet/docbook-xsl/|" "$file"
25 done
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="libxslt perl-yaml-syck perl-test-pod bash"
31 }