wok view xmlto/receipt @ rev 22158

updated xmlto (0.0.26 -> 0.0.28)
author Hans-G?nter Theisgen
date Thu Nov 07 10:41:56 2019 +0100 (2019-11-07)
parents f111123cc72e
children 3105f866bc3e
line source
1 # SliTaz package receipt.
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="https://pagure.io/xmlto/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://releases.pagure.org/$PACKAGE/$TARBALL"
14 DEPENDS="bash libxslt perl-test-pod perl-yaml-syck"
15 BUILD_DEPENDS="docbook-xsl flex util-linux-getopt"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
26 for file in $install/usr/share/xmlto/format/*/*
27 do
28 sed -i "s|http://docbook.sourceforge.net/release/xsl/current/|\
29 /usr/share/xml/docbook/stylesheet/docbook-xsl/|" \
30 "$file"
31 done
32 }
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/xmlto
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share/xmlto/format $fs/usr/share/xmlto
40 }