wok-next diff perl-spreadsheet-writeexcel/receipt @ rev 20025

Up opencv (3.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 13:30:25 2017 +0200 (2017-10-22)
parents 2d12ebd38be4
children 4e6503d7a19f
line diff
     1.1 --- a/perl-spreadsheet-writeexcel/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-spreadsheet-writeexcel/receipt	Sun Oct 22 13:30:25 2017 +0200
     1.3 @@ -1,31 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-spreadsheet-writeexcel"
     1.7 -VERSION="2.25"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Spreadsheet::WriteExcel module is a Perl extension."
    1.10 +VERSION="2.40"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="Spreadsheet::WriteExcel - Write to a cross-platform Excel binary \
    1.13 +file"
    1.14  MAINTAINER="pascal.bellard@slitaz.org"
    1.15  LICENSE="GPL"
    1.16 -DEPENDS="perl"
    1.17 -BUILD_DEPENDS="perl"
    1.18 -SOURCE="Spreadsheet-WriteExcel"
    1.19 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.20 -WEB_SITE="http://cpan.org/"
    1.21 -WGET_URL="http://cpan.org/authors/id/J/JM/JMCNAMARA/$TARBALL"
    1.22 +WEB_SITE="https://metacpan.org/release/Spreadsheet-WriteExcel"
    1.23 +
    1.24 +TARBALL="Spreadsheet-WriteExcel-$VERSION.tar.gz"
    1.25 +WGET_URL="https://cpan.metacpan.org/authors/id/J/JM/JMCNAMARA/$TARBALL"
    1.26 +
    1.27 +DEPENDS="perl-ole-storage_lite perl-parse-recdescent"
    1.28 +BUILD_DEPENDS="$DEPENDS"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src
    1.34 -	perl Makefile.PL
    1.35 -	make
    1.36 -	make DESTDIR=$DESTDIR install
    1.37 +	perl Makefile.PL &&
    1.38 +	make && make DESTDIR=$install install &&
    1.39 +
    1.40 +	chmod -R u+w $install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr
    1.47 -	cp -a $install/usr/lib $fs/usr
    1.48 +	copy @std
    1.49  }
    1.50 -