wok annotate perl-test-deep/receipt @ rev 24471
updated dcfldd (1.3.4-1 -> 1.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 15:14:14 2022 +0100 (2022-02-17) |
parents | d5a3cad1e466 |
children | 373233562953 |
rev | line source |
---|---|
slaxemulator@11913 | 1 # SliTaz package receipt. |
slaxemulator@11913 | 2 |
slaxemulator@11913 | 3 PACKAGE="perl-test-deep" |
Hans-G?nter@23395 | 4 VERSION="1.130" |
slaxemulator@11913 | 5 CATEGORY="development" |
Hans-G?nter@23395 | 6 SHORT_DESC="Perl - Extremely flexible deep comparison." |
slaxemulator@11913 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@20671 | 9 WEB_SITE="https://metacpan.org/release/Test-Deep" |
Hans-G?nter@23395 | 10 |
slaxemulator@11913 | 11 SOURCE="Test-Deep" |
slaxemulator@11913 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23395 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL" |
slaxemulator@11913 | 14 |
slaxemulator@11913 | 15 DEPENDS="perl perl-test-nowarnings" |
slaxemulator@11913 | 16 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@11913 | 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 |
slaxemulator@11913 | 24 # Rules to configure and make the package. |
slaxemulator@11913 | 25 compile_rules() |
slaxemulator@11913 | 26 { |
slaxemulator@11913 | 27 perl Makefile.PL && |
slaxemulator@11913 | 28 make && |
slaxemulator@11913 | 29 make DESTDIR=$DESTDIR install |
slaxemulator@11913 | 30 } |
slaxemulator@11913 | 31 |
slaxemulator@11913 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11913 | 33 genpkg_rules() |
slaxemulator@11913 | 34 { |
Hans-G?nter@23395 | 35 cp -a $install/usr $fs |
slaxemulator@11913 | 36 } |