wok annotate xmlto/receipt @ rev 20804

syslinux/iso2exe: add a MessageBox for Win9x
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 16 17:45:15 2019 +0100 (2019-02-16)
parents 9568a9188f04
children b34859d087d1
rev   line source
yuripourre@17815 1 # SliTaz package receipt.
yuripourre@17815 2
yuripourre@17815 3 PACKAGE="xmlto"
yuripourre@17815 4 VERSION="0.0.26"
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"
yuripourre@17815 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
yuripourre@17815 10 WEB_SITE="http://cyberelk.net/tim/software/xmlto/"
yuripourre@17815 11 WGET_URL="https://fedorahosted.org/releases/x/m/$PACKAGE/$TARBALL"
yuripourre@17815 12
yuripourre@17818 13 DEPENDS="libxslt perl-yaml-syck perl-test-pod bash"
al@18510 14 BUILD_DEPENDS="docbook-xsl util-linux-getopt flex"
yuripourre@17815 15
yuripourre@17815 16 # Rules to configure and make the package.
yuripourre@17815 17 compile_rules()
yuripourre@17815 18 {
al@18510 19 ./configure \
al@18510 20 --prefix=/usr \
yuripourre@17815 21 $CONFIGURE_ARGS &&
yuripourre@17815 22 make &&
yuripourre@17815 23 make DESTDIR=$DESTDIR install
al@18511 24
al@18511 25 for file in $install/usr/share/xmlto/format/*/*; do
al@18511 26 sed -i "s|http://docbook.sourceforge.net/release/xsl/current/|\
al@18511 27 /usr/share/xml/docbook/stylesheet/docbook-xsl/|" "$file"
al@18511 28 done
yuripourre@17815 29 }
yuripourre@17815 30
yuripourre@17815 31 genpkg_rules()
yuripourre@17815 32 {
al@18510 33 mkdir -p $fs/usr/share/xmlto
yuripourre@17815 34 cp -a $install/usr/bin $fs/usr
al@18510 35 cp -a $install/usr/share/xmlto/format $fs/usr/share/xmlto
yuripourre@17815 36 }