wok annotate perl-template-toolkit/receipt @ rev 24712

updated less (551 -> 590)
author Hans-G?nter Theisgen
date Mon Mar 14 17:50:02 2022 +0100 (2022-03-14)
parents 15650f5d595b
children 6e5c8ce7fb15
rev   line source
nneul@17852 1 # SliTaz package receipt.
nneul@17852 2
nneul@17852 3 PACKAGE="perl-template-toolkit"
Hans-G?nter@24253 4 VERSION="3.010"
nneul@17852 5 CATEGORY="development"
Hans-G?nter@23392 6 SHORT_DESC="Perl Module Template Toolkit."
nneul@17852 7 MAINTAINER="nneul@neulinger.org"
Hans-G?nter@24253 8 LICENSE="GPL"
Hans-G?nter@24253 9 WEB_SITE="https://metacpan.org/pod/Template::Toolkit"
Hans-G?nter@24253 10 REPOLOGY="perl:template-toolkit"
Hans-G?nter@23392 11
Hans-G?nter@23392 12 SOURCE="Template-Toolkit"
Hans-G?nter@23392 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23392 14 WGET_URL="https://www.cpan.org/modules/by-module/Template/$TARBALL"
Hans-G?nter@23392 15
nneul@17852 16 DEPENDS="perl perl-appconfig"
Hans-G?nter@24253 17 BUILD_DEPENDS="perl perl-appconfig"
nneul@17852 18
pascal@24102 19 current_version()
pascal@24102 20 {
pascal@24102 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 22 sed '/release-name/!d;s|.*-||;s|<.*||;q'
pascal@24102 23 }
pascal@24102 24
nneul@17852 25 # Rules to configure and make the package.
nneul@17852 26 compile_rules()
nneul@17852 27 {
nneul@17852 28 perl Makefile.PL TT_XS_ENABLE=y TT_XS_DEFAULT=y TT_ACCEPT=y TT_QUIET=n &&
nneul@17852 29 make &&
Hans-G?nter@24253 30 make install DESTDIR=$DESTDIR
nneul@17852 31 }
nneul@17852 32
nneul@17852 33 # Rules to gen a SliTaz package suitable for Tazpkg.
nneul@17852 34 genpkg_rules()
nneul@17852 35 {
Hans-G?nter@24253 36 cook_copy_folders lib
nneul@17852 37 # remove perllocal.pod and .packlist
Hans-G?nter@24253 38 find ${fs} -name perllocal.pod -delete
Hans-G?nter@24253 39 find ${fs} -name .packlist -delete
nneul@17852 40 }