wok view perl-template-toolkit/receipt @ rev 23048
atk-dev: add /usr/lib/libatk-1.0.la
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 12:31:17 2020 +0100 (2020-03-06) |
parents | 8d2b13d29bb3 |
children | 1452ca636580 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-template-toolkit"
4 VERSION="2.26"
5 CATEGORY="development"
6 SHORT_DESC="Perl/CPAN Module Template Toolkit"
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="Artistic"
9 DEPENDS="perl perl-appconfig"
10 BUILD_DEPENDS="perl-appconfig"
11 SOURCE="Template-Toolkit"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="https://metacpan.org/release/Template-Toolkit/"
14 WGET_URL="http://www.cpan.org/authors/id/A/AB/ABW/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL TT_XS_ENABLE=y TT_XS_DEFAULT=y TT_ACCEPT=y TT_QUIET=n &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 # remove perllocal.pod and .packlist
31 find ${fs} -name perllocal.pod -delete
32 find ${fs} -name .packlist -delete
35 }