wok rev 17815

Add xmlto
author Yuri Pourre <yuripourre@gmail.com>
date Sat Mar 21 12:56:32 2015 -0300 (2015-03-21)
parents 9b3e3198d6a7
children 85a0c2661408
files xmlto/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xmlto/receipt	Sat Mar 21 12:56:32 2015 -0300
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +# Forked from https://gitorious.org/chakra-packages/platform/source/89f5fdf6ea894c3a187beb7833dfc5ff41875ba6:xmlto/PKGBUILD
     1.6 +
     1.7 +PACKAGE="xmlto"
     1.8 +VERSION="0.0.26"
     1.9 +CATEGORY="utilities"
    1.10 +LICENSE="GPL"
    1.11 +SHORT_DESC="Tool to convert xml to many other formats."
    1.12 +MAINTAINER="yuripourre@gmail.com"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://cyberelk.net/tim/software/xmlto/"
    1.15 +WGET_URL="https://fedorahosted.org/releases/x/m/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +DEPENDS="libxslt perl-yaml-syck perl-test-pod"
    1.18 +BUILD_DEPENDS="docbook-xsl"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure BASH=/bin/bash \
    1.24 +                    --prefix=/usr \
    1.25 +                    --mandir=/usr/share/man || return 1 \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make &&
    1.28 +	make DESTDIR=$DESTDIR install
    1.29 +}
    1.30 +
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +}