wok annotate perl-text-template/receipt @ rev 24082
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 09 18:20:09 2021 +0000 (2021-07-09) |
parents | 7896f0694ef6 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@1662 | 1 # SliTaz package receipt. |
pascal@1662 | 2 |
pascal@1662 | 3 PACKAGE="perl-text-template" |
Hans-G?nter@23406 | 4 VERSION="1.58" |
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@23406 | 9 WEB_SITE="https://metacpan.org/release/Text-Template" |
Hans-G?nter@23406 | 10 |
pascal@1662 | 11 SOURCE="Text-Template" |
pascal@1662 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23406 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Text/$TARBALL" |
pascal@1662 | 14 |
pascal@15002 | 15 DEPENDS="perl" |
pascal@15002 | 16 BUILD_DEPENDS="perl" |
pascal@15002 | 17 |
pascal@1662 | 18 # Rules to configure and make the package. |
pascal@1662 | 19 compile_rules() |
pascal@1662 | 20 { |
pascal@1662 | 21 perl Makefile.PL && |
pascal@1662 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@1662 | 24 } |
pascal@1662 | 25 |
pascal@1662 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1662 | 27 genpkg_rules() |
pascal@1662 | 28 { |
pascal@1662 | 29 mkdir -p $fs/usr |
Hans-G?nter@23406 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1662 | 31 } |