wok-next diff perl-text-csv/receipt @ rev 19815

libusb-compat-dev: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 23 13:55:19 2017 +0200 (2017-07-23)
parents 2d12ebd38be4
children 4e6503d7a19f
line diff
     1.1 --- a/perl-text-csv/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-text-csv/receipt	Sun Jul 23 13:55:19 2017 +0200
     1.3 @@ -1,35 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-text-csv"
     1.7 -VERSION="1.20"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Manipulate comma-separated value strings."
    1.10 +VERSION="1.95"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="Text::CSV - comma-separated values manipulator (using XS or \
    1.13 +PurePerl)"
    1.14  MAINTAINER="slaxemulator@gmail.com"
    1.15  LICENSE="GPL"
    1.16 +WEB_SITE="https://metacpan.org/release/Text-CSV"
    1.17 +SUGGESTED="perl-text-csv_xs"
    1.18 +
    1.19 +TARBALL="Text-CSV-$VERSION.tar.gz"
    1.20 +WGET_URL="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/$TARBALL"
    1.21 +
    1.22  DEPENDS="perl"
    1.23  BUILD_DEPENDS="perl"
    1.24 -SOURCE="Text-CSV"
    1.25 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.26 -WEB_SITE="http://search.cpan.org/dist/Text-CSV/"
    1.27 -WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/$TARBALL"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	cd $src
    1.33 -	PERL_MM_USE_DEFAULT=1 perl Makefile.PL
    1.34 -	make
    1.35 -	make DESTDIR="$DESTDIR" install
    1.36 +	perl Makefile.PL &&
    1.37 +	make && make DESTDIR=$install install &&
    1.38 +
    1.39 +	chmod -R u+w $install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr
    1.46 -	cp -a $install/usr/lib $fs/usr
    1.47 -
    1.48 -	find $fs -name '.packlist' -delete
    1.49 -	find $fs -name '*.pod' -delete
    1.50 -
    1.51 +	copy @std
    1.52  }
    1.53 -