wok-next view xmlto/receipt @ rev 20079

Up emacs (2.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 25 11:21:45 2017 +0200 (2017-10-25)
parents f111123cc72e
children 0e7893ac206d
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="http://cyberelk.net/tim/software/xmlto/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://fedorahosted.org/releases/x/m/$PACKAGE/$TARBALL"
14 DEPENDS="libxslt perl-yaml-syck perl-test-pod bash"
15 BUILD_DEPENDS="docbook-xsl util-linux-getopt flex"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
24 for file in $install/usr/share/xmlto/format/*/*; do
25 sed -i "s|http://docbook.sourceforge.net/release/xsl/current/|\
26 /usr/share/xml/docbook/stylesheet/docbook-xsl/|" "$file"
27 done
28 }
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/xmlto
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/xmlto/format $fs/usr/share/xmlto
35 }