wok-current annotate perl-html-template/receipt @ rev 24786
updated libspectre-dev (0.2.7 -> 0.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 08:06:51 2022 +0100 (2022-03-21) |
parents | d464571327ad |
children |
rev | line source |
---|---|
pascal@20417 | 1 # SliTaz package receipt. |
pascal@20417 | 2 |
pascal@20417 | 3 PACKAGE="perl-html-template" |
pascal@20417 | 4 VERSION="2.97" |
pascal@20417 | 5 CATEGORY="development" |
pascal@20417 | 6 SHORT_DESC="HTML::Template module is a Perl extension." |
pascal@20417 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20417 | 8 LICENSE="GPL" |
pascal@20417 | 9 DEPENDS="perl" |
pascal@20417 | 10 BUILD_DEPENDS="perl" |
pascal@20417 | 11 SOURCE="HTML-Template" |
pascal@20417 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20417 | 13 WEB_SITE="https://metacpan.org/pod/HTML::Template" |
pascal@20417 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/$TARBALL" |
pascal@20417 | 15 |
pascal@24102 | 16 current_version() |
pascal@24102 | 17 { |
pascal@24102 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 20 } |
pascal@24102 | 21 |
pascal@20417 | 22 # Rules to configure and make the package. |
pascal@20417 | 23 compile_rules() |
pascal@20417 | 24 { |
pascal@20417 | 25 perl Makefile.PL && |
pascal@20417 | 26 make && |
pascal@20417 | 27 make DESTDIR=$DESTDIR install |
pascal@20417 | 28 } |
pascal@20417 | 29 |
pascal@20417 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20417 | 31 genpkg_rules() |
pascal@20417 | 32 { |
pascal@20417 | 33 mkdir -p $fs/usr |
pascal@20417 | 34 cp -a $install/usr/lib $fs/usr |
pascal@20417 | 35 } |