wok annotate perl-html-template/receipt @ rev 21488
mosh: update patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 01 15:49:51 2019 +0200 (2019-05-01) |
parents | |
children | 15650f5d595b |
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@20417 | 16 # Rules to configure and make the package. |
pascal@20417 | 17 compile_rules() |
pascal@20417 | 18 { |
pascal@20417 | 19 perl Makefile.PL && |
pascal@20417 | 20 make && |
pascal@20417 | 21 make DESTDIR=$DESTDIR install |
pascal@20417 | 22 } |
pascal@20417 | 23 |
pascal@20417 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20417 | 25 genpkg_rules() |
pascal@20417 | 26 { |
pascal@20417 | 27 mkdir -p $fs/usr |
pascal@20417 | 28 cp -a $install/usr/lib $fs/usr |
pascal@20417 | 29 } |