wok annotate xmlto/receipt @ rev 18510

xmlto: add all required format files to the package
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 23 23:34:03 2015 +0300 (2015-10-23)
parents e37f113799ab
children f111123cc72e
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
yuripourre@17815 24 }
yuripourre@17815 25
yuripourre@17815 26 genpkg_rules()
yuripourre@17815 27 {
al@18510 28 mkdir -p $fs/usr/share/xmlto
yuripourre@17815 29 cp -a $install/usr/bin $fs/usr
al@18510 30 cp -a $install/usr/share/xmlto/format $fs/usr/share/xmlto
yuripourre@17815 31 }