wok-next annotate 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
rev   line source
al@20443 1 # SliTaz package receipt v2.
yuripourre@17815 2
yuripourre@17815 3 PACKAGE="xmlto"
al@19620 4 VERSION="0.0.28"
yuripourre@17815 5 CATEGORY="utilities"
yuripourre@17815 6 LICENSE="GPL"
al@18510 7 SHORT_DESC="Tool for converting XML files to various formats"
yuripourre@17815 8 MAINTAINER="yuripourre@gmail.com"
al@19620 9 WEB_SITE="http://cyberelk.net/tim/software/xmlto/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/pst/xmlto.html"
al@19620 11
yuripourre@17815 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20443 13 WGET_URL="https://releases.pagure.org/xmlto/$TARBALL"
yuripourre@17815 14
al@18510 15 BUILD_DEPENDS="docbook-xsl util-linux-getopt flex"
yuripourre@17815 16
al@20443 17 compile_rules() {
al@19620 18 ./configure $CONFIGURE_ARGS &&
yuripourre@17815 19 make &&
al@21020 20 make DESTDIR=$install install
al@18511 21
al@18511 22 for file in $install/usr/share/xmlto/format/*/*; do
al@18511 23 sed -i "s|http://docbook.sourceforge.net/release/xsl/current/|\
al@18511 24 /usr/share/xml/docbook/stylesheet/docbook-xsl/|" "$file"
al@18511 25 done
yuripourre@17815 26 }
yuripourre@17815 27
al@20443 28 genpkg_rules() {
al@20443 29 copy @std
al@20443 30 DEPENDS="libxslt perl-yaml-syck perl-test-pod bash"
yuripourre@17815 31 }