wok diff perl-template-toolkit/receipt @ rev 20194

Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 12 13:54:33 2018 +0100 (2018-02-12)
parents
children 6e8b1bcb30e2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-template-toolkit/receipt	Mon Feb 12 13:54:33 2018 +0100
     1.3 @@ -0,0 +1,36 @@
     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 +MAINTAINER="nneul@neulinger.org"
    1.11 +LICENSE="Artistic"
    1.12 +DEPENDS="perl perl-appconfig"
    1.13 +BUILD_DEPENDS="perl-appconfig"
    1.14 +SOURCE="Template-Toolkit"
    1.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16 +WEB_SITE="http://search.cpan.org/dist/Template-Toolkit/"
    1.17 +WGET_URL="http://www.cpan.org/authors/id/A/AB/ABW/$TARBALL"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	perl Makefile.PL TT_XS_ENABLE=y TT_XS_DEFAULT=y TT_ACCEPT=y TT_QUIET=n &&
    1.24 +	make && 
    1.25 +	make DESTDIR=$DESTDIR install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr
    1.32 +	cp -a $install/usr/lib $fs/usr
    1.33 +	# remove perllocal.pod and .packlist
    1.34 +	find ${fs} -name perllocal.pod -delete
    1.35 +	find ${fs} -name .packlist -delete
    1.36 +
    1.37 +
    1.38 +}
    1.39 +