wok-next annotate perl-template-toolkit/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | bc6672455954 |
children | d5aab818505e |
rev | line source |
---|---|
nneul@17852 | 1 # SliTaz package receipt. |
nneul@17852 | 2 |
nneul@17852 | 3 PACKAGE="perl-template-toolkit" |
al@19770 | 4 VERSION="2.27" |
al@19770 | 5 CATEGORY="perl" |
al@19770 | 6 SHORT_DESC="Template::Toolkit - Template Processing System" |
nneul@17852 | 7 MAINTAINER="nneul@neulinger.org" |
al@19770 | 8 LICENSE="Perl" |
al@19770 | 9 WEB_SITE="https://metacpan.org/release/Template-Toolkit" |
al@20884 | 10 REPOLOGY="perl:template-toolkit" |
al@19770 | 11 |
al@19770 | 12 TARBALL="Template-Toolkit-$VERSION.tar.gz" |
al@19770 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/A/AB/ABW/$TARBALL" |
al@19770 | 14 |
nneul@17852 | 15 DEPENDS="perl perl-appconfig" |
al@19769 | 16 BUILD_DEPENDS="perl-dev perl-appconfig" |
nneul@17852 | 17 |
nneul@17852 | 18 # Rules to configure and make the package. |
nneul@17852 | 19 compile_rules() |
nneul@17852 | 20 { |
nneul@17852 | 21 perl Makefile.PL TT_XS_ENABLE=y TT_XS_DEFAULT=y TT_ACCEPT=y TT_QUIET=n && |
al@19770 | 22 make && make DESTDIR=$install install && |
al@19770 | 23 |
al@19770 | 24 chmod -R u+w $install |
nneul@17852 | 25 } |
nneul@17852 | 26 |
nneul@17852 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17852 | 28 genpkg_rules() |
nneul@17852 | 29 { |
al@19770 | 30 copy @std |
nneul@17852 | 31 } |