wok-6.x annotate perl-template-toolkit/receipt @ rev 22947
updated imlib2 and imlib2-dev (1.5.1 -> 1.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 13:50:29 2020 +0100 (2020-02-28) |
parents | 8d2b13d29bb3 |
children | 1452ca636580 |
rev | line source |
---|---|
nneul@17852 | 1 # SliTaz package receipt. |
nneul@17852 | 2 |
nneul@17852 | 3 PACKAGE="perl-template-toolkit" |
nneul@17852 | 4 VERSION="2.26" |
nneul@17852 | 5 CATEGORY="development" |
nneul@17852 | 6 SHORT_DESC="Perl/CPAN Module Template Toolkit" |
nneul@17852 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@17852 | 8 LICENSE="Artistic" |
nneul@17852 | 9 DEPENDS="perl perl-appconfig" |
nneul@17852 | 10 BUILD_DEPENDS="perl-appconfig" |
nneul@17852 | 11 SOURCE="Template-Toolkit" |
nneul@17852 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20671 | 13 WEB_SITE="https://metacpan.org/release/Template-Toolkit/" |
nneul@17852 | 14 WGET_URL="http://www.cpan.org/authors/id/A/AB/ABW/$TARBALL" |
nneul@17852 | 15 |
nneul@17852 | 16 # Rules to configure and make the package. |
nneul@17852 | 17 compile_rules() |
nneul@17852 | 18 { |
nneul@17852 | 19 cd $src |
nneul@17852 | 20 perl Makefile.PL TT_XS_ENABLE=y TT_XS_DEFAULT=y TT_ACCEPT=y TT_QUIET=n && |
nneul@17852 | 21 make && |
nneul@17852 | 22 make DESTDIR=$DESTDIR install |
nneul@17852 | 23 } |
nneul@17852 | 24 |
nneul@17852 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17852 | 26 genpkg_rules() |
nneul@17852 | 27 { |
nneul@17852 | 28 mkdir -p $fs/usr |
nneul@17852 | 29 cp -a $install/usr/lib $fs/usr |
nneul@17852 | 30 # remove perllocal.pod and .packlist |
nneul@17852 | 31 find ${fs} -name perllocal.pod -delete |
nneul@17852 | 32 find ${fs} -name .packlist -delete |
nneul@17852 | 33 |
nneul@17852 | 34 |
nneul@17852 | 35 } |
nneul@17852 | 36 |