wok view perl-template-toolkit/receipt @ rev 23595
updated qoauth (1.0 -> 2.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 14:40:29 2020 +0100 (2020-04-08) |
parents | 6e8b1bcb30e2 |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-template-toolkit"
4 VERSION="3.008"
5 CATEGORY="development"
6 SHORT_DESC="Perl Module Template Toolkit."
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="Artistic"
9 WEB_SITE="https://metacpan.org/release/Template-Toolkit/"
11 SOURCE="Template-Toolkit"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.cpan.org/modules/by-module/Template/$TARBALL"
15 DEPENDS="perl perl-appconfig"
16 BUILD_DEPENDS="perl-appconfig"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Makefile.PL TT_XS_ENABLE=y TT_XS_DEFAULT=y TT_ACCEPT=y TT_QUIET=n &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
32 # remove perllocal.pod and .packlist
33 find $fs -name perllocal.pod -delete
34 find $fs -name .packlist -delete
35 }