wok-next view xmlto/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 91a99d774072 |
children | f48456621a9d |
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/stable/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 }