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

created recipe for lua5.1-mpack 1.0.9
author Hans-G?nter Theisgen
date Sat Feb 25 07:18:33 2023 +0100 (20 months ago)
parents 3026aad208f2
children b27d8c263cba
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"
pascal@25036 14 WGET_URL="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/$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 }