wok-6.x diff xmlto/receipt @ rev 23058

Up claws-mail-perl (3.17.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 07 17:11:49 2020 +0100 (2020-03-07)
parents f111123cc72e
children 3105f866bc3e
line diff
     1.1 --- a/xmlto/receipt	Sat Oct 24 00:22:26 2015 +0300
     1.2 +++ b/xmlto/receipt	Sat Mar 07 17:11:49 2020 +0100
     1.3 @@ -1,36 +1,40 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xmlto"
     1.7 -VERSION="0.0.26"
     1.8 +VERSION="0.0.28"
     1.9  CATEGORY="utilities"
    1.10  LICENSE="GPL"
    1.11 -SHORT_DESC="Tool for converting XML files to various formats"
    1.12 +SHORT_DESC="Tool for converting XML files to various formats."
    1.13  MAINTAINER="yuripourre@gmail.com"
    1.14 +WEB_SITE="https://pagure.io/xmlto/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://cyberelk.net/tim/software/xmlto/"
    1.18 -WGET_URL="https://fedorahosted.org/releases/x/m/$PACKAGE/$TARBALL"
    1.19 +WGET_URL="https://releases.pagure.org/$PACKAGE/$TARBALL"
    1.20  
    1.21 -DEPENDS="libxslt perl-yaml-syck perl-test-pod bash"
    1.22 -BUILD_DEPENDS="docbook-xsl util-linux-getopt flex"
    1.23 +DEPENDS="bash libxslt perl-test-pod perl-yaml-syck"
    1.24 +BUILD_DEPENDS="docbook-xsl flex util-linux-getopt"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 +	./configure		\
    1.32 +		--prefix=/usr	\
    1.33  		$CONFIGURE_ARGS &&
    1.34  	make &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36  
    1.37 -	for file in $install/usr/share/xmlto/format/*/*; do
    1.38 +	for file in $install/usr/share/xmlto/format/*/*
    1.39 +	  do
    1.40  		sed -i "s|http://docbook.sourceforge.net/release/xsl/current/|\
    1.41 -/usr/share/xml/docbook/stylesheet/docbook-xsl/|" "$file"
    1.42 -	done
    1.43 +/usr/share/xml/docbook/stylesheet/docbook-xsl/|" \
    1.44 +		"$file"
    1.45 +	  done
    1.46  }
    1.47  
    1.48  genpkg_rules()
    1.49  {
    1.50  	mkdir -p $fs/usr/share/xmlto
    1.51 -	cp -a $install/usr/bin $fs/usr
    1.52 -	cp -a $install/usr/share/xmlto/format $fs/usr/share/xmlto
    1.53 +
    1.54 +	cp -a $install/usr/bin			$fs/usr
    1.55 +	cp -a $install/usr/share/xmlto/format	$fs/usr/share/xmlto
    1.56  }