wok-next view xmlto/receipt @ rev 20442

linux-dev: fix defconfig for 32bit; refuse linux-uml on 32bit too because of compiling errors
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 10:43:01 2018 +0200 (2018-02-24)
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 }