wok view xmlto/receipt @ rev 21600

Up: smplayer(19.5.0), xine-lib(1.2.9), xine-ui(0.99.10)
author maniac
date Thu May 23 12:16:28 2019 +0300 (2019-05-23)
parents 9568a9188f04
children b34859d087d1
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 }