wok view perl-html-template/receipt @ rev 24055
Add current_version for most github hosted softwares
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 08:46:05 2021 +0000 (2021-06-08) |
parents | |
children | 15650f5d595b |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-html-template"
4 VERSION="2.97"
5 CATEGORY="development"
6 SHORT_DESC="HTML::Template module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="HTML-Template"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="https://metacpan.org/pod/HTML::Template"
14 WGET_URL="https://cpan.metacpan.org/authors/id/S/SA/SAMTREGAR/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 perl Makefile.PL &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 }