wok-next annotate xmlto/receipt @ rev 20123

libsasl-without-ldap, cyrus-sasl-pam: remove autoconf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 09:09:26 2017 +0100 (2017-10-31)
parents f111123cc72e
children 0e7893ac206d
rev   line source
yuripourre@17815 1 # SliTaz package receipt.
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@19620 10
yuripourre@17815 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
yuripourre@17815 12 WGET_URL="https://fedorahosted.org/releases/x/m/$PACKAGE/$TARBALL"
yuripourre@17815 13
yuripourre@17818 14 DEPENDS="libxslt perl-yaml-syck perl-test-pod bash"
al@18510 15 BUILD_DEPENDS="docbook-xsl util-linux-getopt flex"
yuripourre@17815 16
yuripourre@17815 17 # Rules to configure and make the package.
yuripourre@17815 18 compile_rules()
yuripourre@17815 19 {
al@19620 20 ./configure $CONFIGURE_ARGS &&
yuripourre@17815 21 make &&
yuripourre@17815 22 make DESTDIR=$DESTDIR install
al@18511 23
al@18511 24 for file in $install/usr/share/xmlto/format/*/*; do
al@18511 25 sed -i "s|http://docbook.sourceforge.net/release/xsl/current/|\
al@18511 26 /usr/share/xml/docbook/stylesheet/docbook-xsl/|" "$file"
al@18511 27 done
yuripourre@17815 28 }
yuripourre@17815 29
yuripourre@17815 30 genpkg_rules()
yuripourre@17815 31 {
al@18510 32 mkdir -p $fs/usr/share/xmlto
yuripourre@17815 33 cp -a $install/usr/bin $fs/usr
al@18510 34 cp -a $install/usr/share/xmlto/format $fs/usr/share/xmlto
yuripourre@17815 35 }