wok-next view xmlto/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | d01953cd12ed |
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/svn/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=$install 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 }