wok-6.x annotate perl-test-pod-coverage/receipt @ rev 25208
updated python-numpy (1.16.4 -> 1.16.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:56:01 2022 +0100 (2022-07-13) |
parents | 604eaa1d0ad4 |
children |
rev | line source |
---|---|
pascal@11947 | 1 # SliTaz package receipt. |
pascal@11947 | 2 |
pascal@11947 | 3 PACKAGE="perl-test-pod-coverage" |
Hans-G?nter@23401 | 4 VERSION="1.10" |
pascal@11947 | 5 CATEGORY="development" |
Hans-G?nter@23401 | 6 SHORT_DESC="Perl extension Test::Pod::Coverage." |
pascal@11947 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23401 | 9 WEB_SITE="https://metacpan.org/release/Test-Pod-Coverage" |
Hans-G?nter@23401 | 10 |
Hans-G?nter@23401 | 11 SOURCE="Test-Pod-Coverage" |
Hans-G?nter@23401 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23401 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL" |
Hans-G?nter@23401 | 14 |
pascal@11947 | 15 DEPENDS="perl" |
pascal@11947 | 16 BUILD_DEPENDS="perl" |
pascal@11947 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@11947 | 24 # Rules to configure and make the package. |
pascal@11947 | 25 compile_rules() |
pascal@11947 | 26 { |
pascal@11947 | 27 perl Makefile.PL && |
pascal@11947 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@11947 | 30 } |
pascal@11947 | 31 |
pascal@11947 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11947 | 33 genpkg_rules() |
pascal@11947 | 34 { |
pascal@11947 | 35 mkdir -p $fs/usr |
Hans-G?nter@23401 | 36 cp -a $install/usr/lib $fs/usr |
pascal@11947 | 37 } |