wok annotate perl-text-template/receipt @ rev 24612
updated gnuplot (4.6.5 -> 5.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 06 16:11:56 2022 +0100 (2022-03-06) |
parents | 15650f5d595b |
children | b27d8c263cba |
rev | line source |
---|---|
pascal@1662 | 1 # SliTaz package receipt. |
pascal@1662 | 2 |
pascal@1662 | 3 PACKAGE="perl-text-template" |
Hans-G?nter@24262 | 4 VERSION="1.60" |
pascal@1662 | 5 CATEGORY="development" |
Hans-G?nter@23406 | 6 SHORT_DESC="Perl extension Text::Template." |
pascal@1662 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
Hans-G?nter@24262 | 9 WEB_SITE="https://metacpan.org/pod/Text::Template" |
Hans-G?nter@24262 | 10 REPOLOGY="perl:text-template" |
Hans-G?nter@23406 | 11 |
pascal@1662 | 12 SOURCE="Text-Template" |
pascal@1662 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23406 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Text/$TARBALL" |
pascal@1662 | 15 |
pascal@15002 | 16 DEPENDS="perl" |
pascal@15002 | 17 BUILD_DEPENDS="perl" |
pascal@15002 | 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|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
pascal@1662 | 25 # Rules to configure and make the package. |
pascal@1662 | 26 compile_rules() |
pascal@1662 | 27 { |
pascal@1662 | 28 perl Makefile.PL && |
pascal@1662 | 29 make && |
Hans-G?nter@24262 | 30 make install DESTDIR=$DESTDIR |
pascal@1662 | 31 } |
pascal@1662 | 32 |
pascal@1662 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1662 | 34 genpkg_rules() |
pascal@1662 | 35 { |
Hans-G?nter@24262 | 36 cook_copy_folders lib |
pascal@1662 | 37 } |