wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="xmlto"
4 VERSION="0.0.26"
5 CATEGORY="utilities"
6 LICENSE="GPL"
7 SHORT_DESC="Tool for converting XML files to various formats"
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://cyberelk.net/tim/software/xmlto/"
11 WGET_URL="https://fedorahosted.org/releases/x/m/$PACKAGE/$TARBALL"
13 DEPENDS="libxslt perl-yaml-syck perl-test-pod bash"
14 BUILD_DEPENDS="docbook-xsl util-linux-getopt flex"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/xmlto
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share/xmlto/format $fs/usr/share/xmlto
31 }