wok-next diff perl-template-toolkit/receipt @ rev 20312

Up lbreakout2 (2.6.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 21:31:06 2017 +0100 (2017-11-10)
parents dfb3d7f1daed
children 4e6503d7a19f
line diff
     1.1 --- a/perl-template-toolkit/receipt	Wed Jun 14 09:51:23 2017 +0300
     1.2 +++ b/perl-template-toolkit/receipt	Fri Nov 10 21:31:06 2017 +0100
     1.3 @@ -1,36 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-template-toolkit"
     1.7 -VERSION="2.26"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Perl/CPAN Module Template Toolkit"
    1.10 +VERSION="2.27"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="Template::Toolkit - Template Processing System"
    1.13  MAINTAINER="nneul@neulinger.org"
    1.14 -LICENSE="Artistic"
    1.15 +LICENSE="Perl"
    1.16 +WEB_SITE="https://metacpan.org/release/Template-Toolkit"
    1.17 +
    1.18 +TARBALL="Template-Toolkit-$VERSION.tar.gz"
    1.19 +WGET_URL="https://cpan.metacpan.org/authors/id/A/AB/ABW/$TARBALL"
    1.20 +
    1.21  DEPENDS="perl perl-appconfig"
    1.22  BUILD_DEPENDS="perl-dev perl-appconfig"
    1.23 -SOURCE="Template-Toolkit"
    1.24 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.25 -WEB_SITE="http://search.cpan.org/dist/Template-Toolkit/"
    1.26 -WGET_URL="http://www.cpan.org/authors/id/A/AB/ABW/$TARBALL"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32  	perl Makefile.PL TT_XS_ENABLE=y TT_XS_DEFAULT=y TT_ACCEPT=y TT_QUIET=n &&
    1.33 -	make && 
    1.34 -	make DESTDIR=$DESTDIR install
    1.35 +	make && make DESTDIR=$install install &&
    1.36 +
    1.37 +	chmod -R u+w $install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr
    1.44 -	cp -a $install/usr/lib $fs/usr
    1.45 -	# remove perllocal.pod and .packlist
    1.46 -	find ${fs} -name perllocal.pod -delete
    1.47 -	find ${fs} -name .packlist -delete
    1.48 -
    1.49 -
    1.50 +	copy @std
    1.51  }
    1.52 -