wok annotate perl-test-mockmodule/receipt @ rev 25643
Fix mouse issue on mc with ncurses6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jan 12 14:14:28 2024 +0100 (7 months ago) |
parents | 15650f5d595b |
children | b27d8c263cba |
rev | line source |
---|---|
pascal@20470 | 1 # SliTaz package receipt. |
pascal@20470 | 2 |
pascal@20470 | 3 PACKAGE="perl-test-mockmodule" |
Hans-G?nter@24256 | 4 VERSION="0.177.0" |
pascal@20470 | 5 CATEGORY="development" |
Hans-G?nter@23397 | 6 SHORT_DESC="Perl extension Test::MockModule." |
pascal@20470 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20470 | 8 LICENSE="GPL" |
Hans-G?nter@24256 | 9 WEB_SITE="https://metacpan.org/pod/Test::MockModule" |
Hans-G?nter@24256 | 10 REPOLOGY="perl:test-mockmodule" |
Hans-G?nter@23397 | 11 |
pascal@20470 | 12 SOURCE="Test-MockModule" |
pascal@20470 | 13 TARBALL="$SOURCE-v$VERSION.tar.gz" |
Hans-G?nter@23397 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL" |
Hans-G?nter@23397 | 15 |
Hans-G?nter@24256 | 16 DEPENDS="perl perl-sub-identify perl-super perl-test-warnings" |
Hans-G?nter@23397 | 17 BUILD_DEPENDS="$DEPENDS" |
pascal@20470 | 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@20470 | 25 # Rules to configure and make the package. |
pascal@20470 | 26 compile_rules() |
pascal@20470 | 27 { |
pascal@20470 | 28 perl Build.PL && |
pascal@20470 | 29 ./Build && |
pascal@20470 | 30 ./Build test && |
pascal@20470 | 31 ./Build --destdir $DESTDIR install |
pascal@20470 | 32 } |
pascal@20470 | 33 |
pascal@20470 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20470 | 35 genpkg_rules() |
pascal@20470 | 36 { |
Hans-G?nter@24256 | 37 cook_copy_folders lib |
pascal@20470 | 38 } |