wok-current rev 24103
Add some current_version
line diff
1.1 --- a/apache-mod-perl/receipt Fri Sep 17 10:35:57 2021 +0000 1.2 +++ b/apache-mod-perl/receipt Fri Sep 17 14:12:38 2021 +0000 1.3 @@ -14,6 +14,12 @@ 1.4 DEPENDS="apache perl-thread" 1.5 BUILD_DEPENDS="perl-thread gdbm-dev apache-dev apr-dev apr-util-dev apache" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - http://perl.apache.org/download/index.html 2>/dev/null | \ 1.10 + sed '/Version/!d;s|.*ersion ||;s| .*||;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {
2.1 --- a/glade-perl/receipt Fri Sep 17 10:35:57 2021 +0000 2.2 +++ b/glade-perl/receipt Fri Sep 17 14:12:38 2021 +0000 2.3 @@ -14,6 +14,12 @@ 2.4 DEPENDS="libglade perl-gtk2 perl" 2.5 BUILD_DEPENDS="perl-extutils-depends perl-extutils-pkgconfig perl-gtk2 libglade-dev" 2.6 2.7 +current_version() 2.8 +{ 2.9 + wget -O - https://sourceforge.net/projects/gtk2-perl/files/Gtk2_GladeXML/ 2>/dev/null | \ 2.10 + sed '/Click to/!d;s|.*enter ||;s|".*||;q' 2.11 +} 2.12 + 2.13 # Rules to configure and make the package. 2.14 compile_rules() 2.15 {
3.1 --- a/libsdl-perl/receipt Fri Sep 17 10:35:57 2021 +0000 3.2 +++ b/libsdl-perl/receipt Fri Sep 17 14:12:38 2021 +0000 3.3 @@ -8,7 +8,7 @@ 3.4 LICENSE="LGPL2" 3.5 SOURCE="SDL_Perl" 3.6 TARBALL="$SOURCE-v${VERSION}.tar.gz" 3.7 -WEB_SITE="http://sdl.perl.org" 3.8 +WEB_SITE="https://metacpan.org/dist/SDL" # http://sdl.perl.org 3.9 WGET_URL="http://search.cpan.org/CPAN/authors/id/K/KT/KTHAKORE/$TARBALL" 3.10 3.11 DEPENDS="xorg libglu-mesa mesa libsdl libsdl-gfx libsdl-image libsdl-mixer \ 3.12 @@ -17,6 +17,12 @@ 3.13 libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-net-dev \ 3.14 libsdl-ttf-dev" 3.15 3.16 +current_version() 3.17 +{ 3.18 + wget -O - $WEB_SITE 2>/dev/null | \ 3.19 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 3.20 +} 3.21 + 3.22 # Rules to configure and make the package. 3.23 compile_rules() 3.24 {
4.1 --- a/perl-convert-asn1/receipt Fri Sep 17 10:35:57 2021 +0000 4.2 +++ b/perl-convert-asn1/receipt Fri Sep 17 14:12:38 2021 +0000 4.3 @@ -6,7 +6,7 @@ 4.4 SHORT_DESC="Perl extension Convert::ASN1." 4.5 MAINTAINER="pascal.bellard@slitaz.org" 4.6 LICENSE="GPL" 4.7 -WEB_SITE="http://cpan.org/" 4.8 +WEB_SITE="https://metacpan.org/dist/Convert-ASN1" 4.9 4.10 SOURCE="Convert-ASN1" 4.11 TARBALL="$SOURCE-$VERSION.tar.gz" 4.12 @@ -15,6 +15,12 @@ 4.13 DEPENDS="perl" 4.14 BUILD_DEPENDS="perl" 4.15 4.16 +current_version() 4.17 +{ 4.18 + wget -O - $WEB_SITE 2>/dev/null | \ 4.19 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 4.20 +} 4.21 + 4.22 # Rules to configure and make the package. 4.23 compile_rules() 4.24 {
5.1 --- a/perl-crypt-blowfish/receipt Fri Sep 17 10:35:57 2021 +0000 5.2 +++ b/perl-crypt-blowfish/receipt Fri Sep 17 14:12:38 2021 +0000 5.3 @@ -10,9 +10,15 @@ 5.4 BUILD_DEPENDS="perl" 5.5 SOURCE="Crypt-Blowfish" 5.6 TARBALL="$SOURCE-$VERSION.tar.gz" 5.7 -WEB_SITE="http://cpan.org/" 5.8 +WEB_SITE="https://metacpan.org/dist/Crypt-Blowfish" 5.9 WGET_URL="http://cpan.org/authors/id/D/DP/DPARIS/$TARBALL" 5.10 5.11 +current_version() 5.12 +{ 5.13 + wget -O - $WEB_SITE 2>/dev/null | \ 5.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 5.15 +} 5.16 + 5.17 # Rules to configure and make the package. 5.18 compile_rules() 5.19 {
6.1 --- a/perl-crypt-cbc/receipt Fri Sep 17 10:35:57 2021 +0000 6.2 +++ b/perl-crypt-cbc/receipt Fri Sep 17 14:12:38 2021 +0000 6.3 @@ -10,9 +10,15 @@ 6.4 BUILD_DEPENDS="perl" 6.5 SOURCE="Crypt-CBC" 6.6 TARBALL="$SOURCE-$VERSION.tar.gz" 6.7 -WEB_SITE="http://cpan.org/" 6.8 +WEB_SITE="https://metacpan.org/dist/Crypt-CBC" 6.9 WGET_URL="http://cpan.org/authors/id/L/LD/LDS/$TARBALL" 6.10 6.11 +current_version() 6.12 +{ 6.13 + wget -O - $WEB_SITE 2>/dev/null | \ 6.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 6.15 +} 6.16 + 6.17 # Rules to configure and make the package. 6.18 compile_rules() 6.19 {
7.1 --- a/perl-crypt-smbhash/receipt Fri Sep 17 10:35:57 2021 +0000 7.2 +++ b/perl-crypt-smbhash/receipt Fri Sep 17 14:12:38 2021 +0000 7.3 @@ -10,9 +10,15 @@ 7.4 BUILD_DEPENDS="perl" 7.5 SOURCE="Crypt-SmbHash" 7.6 TARBALL="$SOURCE-$VERSION.tar.gz" 7.7 -WEB_SITE="http://cpan.org/" 7.8 +WEB_SITE="https://metacpan.org/dist/Crypt-SmbHash" 7.9 WGET_URL="http://cpan.org/authors/id/B/BJ/BJKUIT/$TARBALL" 7.10 7.11 +current_version() 7.12 +{ 7.13 + wget -O - $WEB_SITE 2>/dev/null | \ 7.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 7.15 +} 7.16 + 7.17 # Rules to configure and make the package. 7.18 compile_rules() 7.19 {
8.1 --- a/perl-crypt-ssleay/receipt Fri Sep 17 10:35:57 2021 +0000 8.2 +++ b/perl-crypt-ssleay/receipt Fri Sep 17 14:12:38 2021 +0000 8.3 @@ -10,12 +10,18 @@ 8.4 BUILD_DEPENDS="perl" 8.5 SOURCE="Crypt-SSLeay" 8.6 TARBALL="$SOURCE-$VERSION.tar.gz" 8.7 -WEB_SITE="http://cpan.org/" 8.8 +WEB_SITE="https://metacpan.org/dist/Crypt-SSLeay" 8.9 WGET_URL="https://metacpan.org/CPAN/authors/id/N/NA/NANIS/$TARBALL" 8.10 8.11 DEPENDS="openssl" 8.12 BUILD_DEPENDS="openssl-dev" 8.13 8.14 +current_version() 8.15 +{ 8.16 + wget -O - $WEB_SITE 2>/dev/null | \ 8.17 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 8.18 +} 8.19 + 8.20 # Rules to configure and make the package. 8.21 compile_rules() 8.22 {
9.1 --- a/perl-datetime-format-mail/receipt Fri Sep 17 10:35:57 2021 +0000 9.2 +++ b/perl-datetime-format-mail/receipt Fri Sep 17 14:12:38 2021 +0000 9.3 @@ -8,12 +8,18 @@ 9.4 LICENSE="GPL2" 9.5 SOURCE="DateTime-Format-Mail" 9.6 TARBALL="$SOURCE-$VERSION.tar.gz" 9.7 -WEB_SITE="http://cpan.org/" 9.8 +WEB_SITE="https://metacpan.org/dist/DateTime-Format-Mail" 9.9 WGET_URL="https://cpan.metacpan.org/authors/id/B/BO/BOOK/$TARBALL" 9.10 9.11 DEPENDS="perl" 9.12 BUILD_DEPENDS="perl-datetime perl-params-validate" 9.13 9.14 +current_version() 9.15 +{ 9.16 + wget -O - $WEB_SITE 2>/dev/null | \ 9.17 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 9.18 +} 9.19 + 9.20 # Rules to configure and make the package. 9.21 compile_rules() 9.22 {
10.1 --- a/perl-datetime-locale/receipt Fri Sep 17 10:35:57 2021 +0000 10.2 +++ b/perl-datetime-locale/receipt Fri Sep 17 14:12:38 2021 +0000 10.3 @@ -10,9 +10,15 @@ 10.4 BUILD_DEPENDS="perl" 10.5 SOURCE="DateTime-Locale" 10.6 TARBALL="$SOURCE-$VERSION.tar.gz" 10.7 -WEB_SITE="http://cpan.org/" 10.8 +WEB_SITE="https://metacpan.org/dist/DateTime-Locale" 10.9 WGET_URL="https://metacpan.org/CPAN/authors/id/D/DR/DROLSKY/$TARBALL" 10.10 10.11 +current_version() 10.12 +{ 10.13 + wget -O - $WEB_SITE 2>/dev/null | \ 10.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 10.15 +} 10.16 + 10.17 # Rules to configure and make the package. 10.18 compile_rules() 10.19 {
11.1 --- a/perl-dbi-dbd/receipt Fri Sep 17 10:35:57 2021 +0000 11.2 +++ b/perl-dbi-dbd/receipt Fri Sep 17 14:12:38 2021 +0000 11.3 @@ -10,9 +10,15 @@ 11.4 BUILD_DEPENDS="perl" 11.5 SOURCE="DBI" 11.6 TARBALL="$SOURCE-$VERSION.tar.gz" 11.7 -WEB_SITE="http://cpan.org/" 11.8 +WEB_SITE="https://metacpan.org/dist/DBI" 11.9 WGET_URL="http://cpan.org/authors/id/T/TI/TIMB/$TARBALL" 11.10 11.11 +current_version() 11.12 +{ 11.13 + wget -O - $WEB_SITE 2>/dev/null | \ 11.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 11.15 +} 11.16 + 11.17 # Rules to configure and make the package. 11.18 compile_rules() 11.19 {
12.1 --- a/perl-dbi/receipt Fri Sep 17 10:35:57 2021 +0000 12.2 +++ b/perl-dbi/receipt Fri Sep 17 14:12:38 2021 +0000 12.3 @@ -3,16 +3,22 @@ 12.4 PACKAGE="perl-dbi" 12.5 VERSION="v3.0.17" 12.6 CATEGORY="development" 12.7 -SHORT_DESC="DBI module is a Perl extension." 12.8 +SHORT_DESC="Class::DBI module is a Perl extension." 12.9 MAINTAINER="pascal.bellard@slitaz.org" 12.10 LICENSE="GPL" 12.11 DEPENDS="perl" 12.12 BUILD_DEPENDS="perl" 12.13 SOURCE="Class-DBI" 12.14 TARBALL="$SOURCE-$VERSION.tar.gz" 12.15 -WEB_SITE="http://cpan.org/" 12.16 +WEB_SITE="https://metacpan.org/dist/Class-DBI" 12.17 WGET_URL="http://cpan.org/authors/id/T/TM/TMTM/$TARBALL" 12.18 12.19 +current_version() 12.20 +{ 12.21 + wget -O - $WEB_SITE 2>/dev/null | \ 12.22 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 12.23 +} 12.24 + 12.25 # Rules to configure and make the package. 12.26 compile_rules() 12.27 {
13.1 --- a/perl-digest-sha1/receipt Fri Sep 17 10:35:57 2021 +0000 13.2 +++ b/perl-digest-sha1/receipt Fri Sep 17 14:12:38 2021 +0000 13.3 @@ -10,9 +10,15 @@ 13.4 BUILD_DEPENDS="perl" 13.5 SOURCE="Digest-SHA1" 13.6 TARBALL="$SOURCE-$VERSION.tar.gz" 13.7 -WEB_SITE="http://cpan.org/" 13.8 +WEB_SITE="https://metacpan.org/dist/Digest-SHA1" 13.9 WGET_URL="https://metacpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" 13.10 13.11 +current_version() 13.12 +{ 13.13 + wget -O - $WEB_SITE 2>/dev/null | \ 13.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 13.15 +} 13.16 + 13.17 # Rules to configure and make the package. 13.18 compile_rules() 13.19 {
14.1 --- a/perl-file-basedir/receipt Fri Sep 17 10:35:57 2021 +0000 14.2 +++ b/perl-file-basedir/receipt Fri Sep 17 14:12:38 2021 +0000 14.3 @@ -10,9 +10,15 @@ 14.4 BUILD_DEPENDS="perl" 14.5 SOURCE="File-BaseDir" 14.6 TARBALL="$SOURCE-$VERSION.tar.gz" 14.7 -WEB_SITE="http://cpan.org/" 14.8 +WEB_SITE="https://metacpan.org/dist/File-BaseDir" 14.9 WGET_URL="https://metacpan.org/CPAN/authors/id/P/PA/PARDUS/$TARBALL" 14.10 14.11 +current_version() 14.12 +{ 14.13 + wget -O - $WEB_SITE 2>/dev/null | \ 14.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 14.15 +} 14.16 + 14.17 # Rules to configure and make the package. 14.18 compile_rules() 14.19 {
15.1 --- a/perl-file-listing/receipt Fri Sep 17 10:35:57 2021 +0000 15.2 +++ b/perl-file-listing/receipt Fri Sep 17 14:12:38 2021 +0000 15.3 @@ -10,9 +10,15 @@ 15.4 BUILD_DEPENDS="perl" 15.5 SOURCE="File-Listing" 15.6 TARBALL="$SOURCE-$VERSION.tar.gz" 15.7 -WEB_SITE="http://cpan.org/" 15.8 +WEB_SITE="https://metacpan.org/pod/File::Listing" 15.9 WGET_URL="https://metacpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" 15.10 15.11 +current_version() 15.12 +{ 15.13 + wget -O - $WEB_SITE 2>/dev/null | \ 15.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 15.15 +} 15.16 + 15.17 # Rules to configure and make the package. 15.18 compile_rules() 15.19 {
16.1 --- a/perl-file-tail/receipt Fri Sep 17 10:35:57 2021 +0000 16.2 +++ b/perl-file-tail/receipt Fri Sep 17 14:12:38 2021 +0000 16.3 @@ -10,9 +10,15 @@ 16.4 BUILD_DEPENDS="perl" 16.5 SOURCE="File-Tail" 16.6 TARBALL="$SOURCE-$VERSION.tar.gz" 16.7 -WEB_SITE="http://cpan.org/" 16.8 +WEB_SITE="https://metacpan.org/dist/File-Tail" 16.9 WGET_URL="https://metacpan.org/CPAN/authors/id/M/MG/MGRABNAR/$TARBALL" 16.10 16.11 +current_version() 16.12 +{ 16.13 + wget -O - $WEB_SITE 2>/dev/null | \ 16.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 16.15 +} 16.16 + 16.17 # Rules to configure and make the package. 16.18 compile_rules() 16.19 {
17.1 --- a/perl-filesys-statvfs/receipt Fri Sep 17 10:35:57 2021 +0000 17.2 +++ b/perl-filesys-statvfs/receipt Fri Sep 17 14:12:38 2021 +0000 17.3 @@ -8,12 +8,18 @@ 17.4 LICENSE="GPL" 17.5 SOURCE="Filesys-Statvfs" 17.6 TARBALL="$SOURCE-$VERSION.tar.gz" 17.7 -WEB_SITE="http://cpan.org/" 17.8 +WEB_SITE="https://metacpan.org/dist/Filesys-Statvfs" 17.9 WGET_URL="https://metacpan.org/CPAN/authors/id/I/IG/IGUTHRIE/$TARBALL" 17.10 17.11 DEPENDS="perl" 17.12 BUILD_DEPENDS="perl" 17.13 17.14 +current_version() 17.15 +{ 17.16 + wget -O - $WEB_SITE 2>/dev/null | \ 17.17 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 17.18 +} 17.19 + 17.20 # Rules to configure and make the package. 17.21 compile_rules() 17.22 {
18.1 --- a/perl-gtk2-trayicon/receipt Fri Sep 17 10:35:57 2021 +0000 18.2 +++ b/perl-gtk2-trayicon/receipt Fri Sep 17 14:12:38 2021 +0000 18.3 @@ -8,12 +8,18 @@ 18.4 LICENSE="GPL" 18.5 SOURCE="Gtk2-TrayIcon" 18.6 TARBALL="$SOURCE-$VERSION.tar.gz" 18.7 -WEB_SITE="http://cpan.org/" 18.8 +WEB_SITE="https://metacpan.org/dist/Gtk2-TrayIcon" 18.9 WGET_URL="https://metacpan.org/CPAN/authors/id/B/BO/BORUP/$TARBALL" 18.10 18.11 DEPENDS="perl-gtk2" 18.12 BUILD_DEPENDS="perl-gtk2 perl-extutils-depends perl-extutils-pkgconfig gtk+-dev" 18.13 18.14 +current_version() 18.15 +{ 18.16 + wget -O - $WEB_SITE 2>/dev/null | \ 18.17 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 18.18 +} 18.19 + 18.20 # Rules to configure and make the package. 18.21 compile_rules() 18.22 {
19.1 --- a/perl-html-tagset/receipt Fri Sep 17 10:35:57 2021 +0000 19.2 +++ b/perl-html-tagset/receipt Fri Sep 17 14:12:38 2021 +0000 19.3 @@ -10,9 +10,15 @@ 19.4 BUILD_DEPENDS="perl" 19.5 SOURCE="HTML-Tagset" 19.6 TARBALL="$SOURCE-$VERSION.tar.gz" 19.7 -WEB_SITE="http://www.cpan.org/modules" 19.8 +WEB_SITE="https://metacpan.org/dist/HTML-Tagset" 19.9 WGET_URL="https://metacpan.org/CPAN/authors/id/P/PE/PETDANCE/$TARBALL" 19.10 19.11 +current_version() 19.12 +{ 19.13 + wget -O - $WEB_SITE 2>/dev/null | \ 19.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 19.15 +} 19.16 + 19.17 # Rules to configure and make the package. 19.18 compile_rules() 19.19 {
20.1 --- a/perl-http-proxy/receipt Fri Sep 17 10:35:57 2021 +0000 20.2 +++ b/perl-http-proxy/receipt Fri Sep 17 14:12:38 2021 +0000 20.3 @@ -10,9 +10,15 @@ 20.4 BUILD_DEPENDS="$DEPENDS" 20.5 SOURCE="HTTP-Proxy" 20.6 TARBALL="$SOURCE-$VERSION.tar.gz" 20.7 -WEB_SITE="http://cpan.org/" 20.8 +WEB_SITE="https://metacpan.org/dist/HTTP-Proxy" 20.9 WGET_URL="https://cpan.metacpan.org/authors/id/B/BO/BOOK/$TARBALL" 20.10 20.11 +current_version() 20.12 +{ 20.13 + wget -O - $WEB_SITE 2>/dev/null | \ 20.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 20.15 +} 20.16 + 20.17 # Rules to configure and make the package. 20.18 compile_rules() 20.19 {
21.1 --- a/perl-http-server-simple-authen/receipt Fri Sep 17 10:35:57 2021 +0000 21.2 +++ b/perl-http-server-simple-authen/receipt Fri Sep 17 14:12:38 2021 +0000 21.3 @@ -10,9 +10,15 @@ 21.4 BUILD_DEPENDS="$DEPENDS" 21.5 SOURCE="HTTP-Server-Simple-Authen" 21.6 TARBALL="$SOURCE-$VERSION.tar.gz" 21.7 -WEB_SITE="http://cpan.org/" 21.8 +WEB_SITE="https://metacpan.org/dist/HTTP-Server-Simple-Authen" 21.9 WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/$TARBALL" 21.10 21.11 +current_version() 21.12 +{ 21.13 + wget -O - $WEB_SITE 2>/dev/null | \ 21.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 21.15 +} 21.16 + 21.17 # Rules to configure and make the package. 21.18 compile_rules() 21.19 {
22.1 --- a/perl-io-capture/receipt Fri Sep 17 10:35:57 2021 +0000 22.2 +++ b/perl-io-capture/receipt Fri Sep 17 14:12:38 2021 +0000 22.3 @@ -10,9 +10,15 @@ 22.4 BUILD_DEPENDS="perl" 22.5 SOURCE="IO-Capture" 22.6 TARBALL="$SOURCE-$VERSION.tar.gz" 22.7 -WEB_SITE="http://cpan.org/" 22.8 +WEB_SITE="https://metacpan.org/dist/IO-Capture" 22.9 WGET_URL="https://cpan.metacpan.org/authors/id/R/RE/REYNOLDS/$TARBALL" 22.10 22.11 +current_version() 22.12 +{ 22.13 + wget -O - $WEB_SITE 2>/dev/null | \ 22.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 22.15 +} 22.16 + 22.17 # Rules to configure and make the package. 22.18 compile_rules() 22.19 {
23.1 --- a/perl-io-scalar/receipt Fri Sep 17 10:35:57 2021 +0000 23.2 +++ b/perl-io-scalar/receipt Fri Sep 17 14:12:38 2021 +0000 23.3 @@ -10,9 +10,15 @@ 23.4 BUILD_DEPENDS="perl" 23.5 SOURCE="IO-stringy" 23.6 TARBALL="$SOURCE-$VERSION.tar.gz" 23.7 -WEB_SITE="http://cpan.org/" 23.8 +WEB_SITE="https://metacpan.org/dist/IO-Stringy" 23.9 WGET_URL="https://metacpan.org/CPAN/authors/id/D/DS/DSKOLL/$TARBALL" 23.10 23.11 +current_version() 23.12 +{ 23.13 + wget -O - $WEB_SITE 2>/dev/null | \ 23.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 23.15 +} 23.16 + 23.17 # Rules to configure and make the package. 23.18 compile_rules() 23.19 {
24.1 --- a/perl-jcode/receipt Fri Sep 17 10:35:57 2021 +0000 24.2 +++ b/perl-jcode/receipt Fri Sep 17 14:12:38 2021 +0000 24.3 @@ -10,9 +10,15 @@ 24.4 BUILD_DEPENDS="perl" 24.5 SOURCE="Jcode" 24.6 TARBALL="$SOURCE-$VERSION.tar.gz" 24.7 -WEB_SITE="http://cpan.org/" 24.8 +WEB_SITE="https://metacpan.org/dist/Jcode" 24.9 WGET_URL="http://cpan.org/authors/id/D/DA/DANKOGAI/$TARBALL" 24.10 24.11 +current_version() 24.12 +{ 24.13 + wget -O - $WEB_SITE 2>/dev/null | \ 24.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 24.15 +} 24.16 + 24.17 # Rules to configure and make the package. 24.18 compile_rules() 24.19 {
25.1 --- a/perl-lchown/receipt Fri Sep 17 10:35:57 2021 +0000 25.2 +++ b/perl-lchown/receipt Fri Sep 17 14:12:38 2021 +0000 25.3 @@ -8,12 +8,18 @@ 25.4 LICENSE="GPL" 25.5 SOURCE="Lchown" 25.6 TARBALL="$SOURCE-$VERSION.tar.gz" 25.7 -WEB_SITE="http://cpan.org/" 25.8 +WEB_SITE="https://metacpan.org/dist/Lchown" 25.9 WGET_URL="https://metacpan.org/CPAN/authors/id/N/NC/NCLEATON/$TARBALL" 25.10 25.11 DEPENDS="perl" 25.12 BUILD_DEPENDS="perl" 25.13 25.14 +current_version() 25.15 +{ 25.16 + wget -O - $WEB_SITE 2>/dev/null | \ 25.17 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 25.18 +} 25.19 + 25.20 # Rules to configure and make the package. 25.21 compile_rules() 25.22 {
26.1 --- a/perl-lwp-protocol-https/receipt Fri Sep 17 10:35:57 2021 +0000 26.2 +++ b/perl-lwp-protocol-https/receipt Fri Sep 17 14:12:38 2021 +0000 26.3 @@ -10,9 +10,15 @@ 26.4 BUILD_DEPENDS="$DEPENDS" 26.5 SOURCE="LWP-Protocol-https" 26.6 TARBALL="$SOURCE-$VERSION.tar.gz" 26.7 -WEB_SITE="http://cpan.org/" 26.8 +WEB_SITE="https://metacpan.org/dist/LWP-Protocol-https" 26.9 WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL" 26.10 26.11 +current_version() 26.12 +{ 26.13 + wget -O - $WEB_SITE 2>/dev/null | \ 26.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 26.15 +} 26.16 + 26.17 # Rules to configure and make the package. 26.18 compile_rules() 26.19 {
27.1 --- a/perl-maketext-gettext/receipt Fri Sep 17 10:35:57 2021 +0000 27.2 +++ b/perl-maketext-gettext/receipt Fri Sep 17 14:12:38 2021 +0000 27.3 @@ -10,9 +10,15 @@ 27.4 BUILD_DEPENDS="perl" 27.5 SOURCE="Locale-Maketext-Gettext" 27.6 TARBALL="$SOURCE-$VERSION.tar.gz" 27.7 -WEB_SITE="http://cpan.org/" 27.8 +WEB_SITE="https://metacpan.org/dist/Locale-Maketext-Gettext" 27.9 WGET_URL="https://metacpan.org/CPAN/authors/id/I/IM/IMACAT/$TARBALL" 27.10 27.11 +current_version() 27.12 +{ 27.13 + wget -O - $WEB_SITE 2>/dev/null | \ 27.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 27.15 +} 27.16 + 27.17 # Rules to configure and make the package. 27.18 compile_rules() 27.19 {
28.1 --- a/perl-md4/receipt Fri Sep 17 10:35:57 2021 +0000 28.2 +++ b/perl-md4/receipt Fri Sep 17 14:12:38 2021 +0000 28.3 @@ -6,7 +6,7 @@ 28.4 SHORT_DESC="Digest::Perl::MD4 is a Perl extension." 28.5 MAINTAINER="pascal.bellard@slitaz.org" 28.6 LICENSE="GPL" 28.7 -WEB_SITE="https://metacpan.org/" 28.8 +WEB_SITE="https://metacpan.org/dist/Digest-Perl-MD4" 28.9 SOURCE="Digest-Perl-MD4" 28.10 TARBALL="$SOURCE-$VERSION.tar.gz" 28.11 WGET_URL="https://metacpan.org/CPAN/authors/id/O/OT/OTAKA/$TARBALL" 28.12 @@ -14,6 +14,12 @@ 28.13 DEPENDS="perl" 28.14 BUILD_DEPENDS="perl" 28.15 28.16 +current_version() 28.17 +{ 28.18 + wget -O - $WEB_SITE 2>/dev/null | \ 28.19 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 28.20 +} 28.21 + 28.22 # Rules to configure and make the package. 28.23 compile_rules() 28.24 {
29.1 --- a/perl-net-ftp-autoreconnect/receipt Fri Sep 17 10:35:57 2021 +0000 29.2 +++ b/perl-net-ftp-autoreconnect/receipt Fri Sep 17 14:12:38 2021 +0000 29.3 @@ -10,9 +10,15 @@ 29.4 BUILD_DEPENDS="perl" 29.5 SOURCE="Net-FTP-AutoReconnect" 29.6 TARBALL="$SOURCE-$VERSION.tar.gz" 29.7 -WEB_SITE="http://cpan.org/" 29.8 +WEB_SITE="https://metacpan.org/dist/Net-FTP-AutoReconnect" 29.9 WGET_URL="https://metacpan.org/CPAN/authors/id/G/GI/GIFF/$TARBALL" 29.10 29.11 +current_version() 29.12 +{ 29.13 + wget -O - $WEB_SITE 2>/dev/null | \ 29.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 29.15 +} 29.16 + 29.17 # Rules to configure and make the package. 29.18 compile_rules() 29.19 {
30.1 --- a/perl-net-ftp-retrhandle/receipt Fri Sep 17 10:35:57 2021 +0000 30.2 +++ b/perl-net-ftp-retrhandle/receipt Fri Sep 17 14:12:38 2021 +0000 30.3 @@ -10,9 +10,15 @@ 30.4 BUILD_DEPENDS="perl" 30.5 SOURCE="Net-FTP-RetrHandle" 30.6 TARBALL="$SOURCE-$VERSION.tar.gz" 30.7 -WEB_SITE="http://cpan.org/" 30.8 +WEB_SITE="https://metacpan.org/dist/Net-FTP-RetrHandle" 30.9 WGET_URL="https://metacpan.org/CPAN/authors/id/G/GI/GIFF/$TARBALL" 30.10 30.11 +current_version() 30.12 +{ 30.13 + wget -O - $WEB_SITE 2>/dev/null | \ 30.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 30.15 +} 30.16 + 30.17 # Rules to configure and make the package. 30.18 compile_rules() 30.19 {
31.1 --- a/perl-net-ftp/receipt Fri Sep 17 10:35:57 2021 +0000 31.2 +++ b/perl-net-ftp/receipt Fri Sep 17 14:12:38 2021 +0000 31.3 @@ -10,9 +10,15 @@ 31.4 BUILD_DEPENDS="perl" 31.5 SOURCE="libnet" 31.6 TARBALL="$SOURCE-$VERSION.tar.gz" 31.7 -WEB_SITE="http://cpan.org/" 31.8 +WEB_SITE="https://metacpan.org/dist/libnet" 31.9 WGET_URL="https://metacpan.org/CPAN/authors/id/G/GB/GBARR/$TARBALL" 31.10 31.11 +current_version() 31.12 +{ 31.13 + wget -O - $WEB_SITE 2>/dev/null | \ 31.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 31.15 +} 31.16 + 31.17 # Rules to configure and make the package. 31.18 compile_rules() 31.19 {
32.1 --- a/perl-net-ldap/receipt Fri Sep 17 10:35:57 2021 +0000 32.2 +++ b/perl-net-ldap/receipt Fri Sep 17 14:12:38 2021 +0000 32.3 @@ -16,6 +16,12 @@ 32.4 DEPENDS="perl perl-authen-sasl perl-convert-asn1 perl-uri" 32.5 BUILD_DEPENDS="$DEPENDS" 32.6 32.7 +current_version() 32.8 +{ 32.9 + wget -O - $WEB_SITE 2>/dev/null | \ 32.10 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 32.11 +} 32.12 + 32.13 # Rules to configure and make the package. 32.14 compile_rules() 32.15 {
33.1 --- a/perl-net-pcap/receipt Fri Sep 17 10:35:57 2021 +0000 33.2 +++ b/perl-net-pcap/receipt Fri Sep 17 14:12:38 2021 +0000 33.3 @@ -10,9 +10,15 @@ 33.4 BUILD_DEPENDS="perl libpcap libpcap-dev" 33.5 SOURCE="Net-Pcap" 33.6 TARBALL="$SOURCE-$VERSION.tar.gz" 33.7 -WEB_SITE="http://cpan.org/" 33.8 +WEB_SITE="https://metacpan.org/dist/Net-Pcap" 33.9 WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$TARBALL" 33.10 33.11 +current_version() 33.12 +{ 33.13 + wget -O - $WEB_SITE 2>/dev/null | \ 33.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 33.15 +} 33.16 + 33.17 # Rules to configure and make the package. 33.18 compile_rules() 33.19 {
34.1 --- a/perl-net-xwhois/receipt Fri Sep 17 10:35:57 2021 +0000 34.2 +++ b/perl-net-xwhois/receipt Fri Sep 17 14:12:38 2021 +0000 34.3 @@ -10,9 +10,15 @@ 34.4 BUILD_DEPENDS="perl" 34.5 SOURCE="Net-XWhois" 34.6 TARBALL="$SOURCE-$VERSION.tar.gz" 34.7 -WEB_SITE="http://www.cpan.org/modules/" 34.8 +WEB_SITE="https://metacpan.org/dist/Net-XWhois" 34.9 WGET_URL="https://metacpan.org/CPAN/authors/id/V/VI/VIPUL/$TARBALL" 34.10 34.11 +current_version() 34.12 +{ 34.13 + wget -O - $WEB_SITE 2>/dev/null | \ 34.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 34.15 +} 34.16 + 34.17 # Rules to configure and make the package. 34.18 compile_rules() 34.19 {
35.1 --- a/perl-netaddr-ip/receipt Fri Sep 17 10:35:57 2021 +0000 35.2 +++ b/perl-netaddr-ip/receipt Fri Sep 17 14:12:38 2021 +0000 35.3 @@ -10,9 +10,15 @@ 35.4 BUILD_DEPENDS="perl" 35.5 SOURCE="NetAddr-IP" 35.6 TARBALL="$SOURCE-$VERSION.tar.gz" 35.7 -WEB_SITE="http://www.cpan.org/modules/" 35.8 +WEB_SITE="https://metacpan.org/dist/NetAddr-IP" 35.9 WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MIKER/$TARBALL" 35.10 35.11 +current_version() 35.12 +{ 35.13 + wget -O - $WEB_SITE 2>/dev/null | \ 35.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 35.15 +} 35.16 + 35.17 # Rules to configure and make the package. 35.18 compile_rules() 35.19 {
36.1 --- a/perl-parallel-forkmanager/receipt Fri Sep 17 10:35:57 2021 +0000 36.2 +++ b/perl-parallel-forkmanager/receipt Fri Sep 17 14:12:38 2021 +0000 36.3 @@ -10,9 +10,15 @@ 36.4 BUILD_DEPENDS="perl" 36.5 SOURCE="Parallel-ForkManager" 36.6 TARBALL="$SOURCE-$VERSION.tar.gz" 36.7 -WEB_SITE="http://cpan.org/" 36.8 +WEB_SITE="https://metacpan.org/dist/Parallel-ForkManager" 36.9 WGET_URL="https://cpan.metacpan.org/authors/id/Y/YA/YANICK/$TARBALL" 36.10 36.11 +current_version() 36.12 +{ 36.13 + wget -O - $WEB_SITE 2>/dev/null | \ 36.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 36.15 +} 36.16 + 36.17 # Rules to configure and make the package. 36.18 compile_rules() 36.19 {
37.1 --- a/perl-parse-recdescent/receipt Fri Sep 17 10:35:57 2021 +0000 37.2 +++ b/perl-parse-recdescent/receipt Fri Sep 17 14:12:38 2021 +0000 37.3 @@ -15,6 +15,12 @@ 37.4 DEPENDS="perl" 37.5 BUILD_DEPENDS="perl perl-extutils-makemaker" 37.6 37.7 +current_version() 37.8 +{ 37.9 + wget -O - $WEB_SITE 2>/dev/null | \ 37.10 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 37.11 +} 37.12 + 37.13 # Rules to configure and make the package. 37.14 compile_rules() 37.15 {
38.1 --- a/perl-preadsheet-parseexcel/receipt Fri Sep 17 10:35:57 2021 +0000 38.2 +++ b/perl-preadsheet-parseexcel/receipt Fri Sep 17 14:12:38 2021 +0000 38.3 @@ -10,9 +10,15 @@ 38.4 BUILD_DEPENDS="perl" 38.5 SOURCE="Spreadsheet-ParseExcel" 38.6 TARBALL="$SOURCE-$VERSION.tar.gz" 38.7 -WEB_SITE="http://cpan.org/" 38.8 +WEB_SITE="https://metacpan.org/dist/Spreadsheet-ParseExcel" 38.9 WGET_URL="http://cpan.org/authors/id/S/SZ/SZABGAB/$TARBALL" 38.10 38.11 +current_version() 38.12 +{ 38.13 + wget -O - $WEB_SITE 2>/dev/null | \ 38.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 38.15 +} 38.16 + 38.17 # Rules to configure and make the package. 38.18 compile_rules() 38.19 {
39.1 --- a/perl-rfc-rfc822-address/receipt Fri Sep 17 10:35:57 2021 +0000 39.2 +++ b/perl-rfc-rfc822-address/receipt Fri Sep 17 14:12:38 2021 +0000 39.3 @@ -10,9 +10,15 @@ 39.4 BUILD_DEPENDS="perl" 39.5 SOURCE="RFC-RFC822-Address" 39.6 TARBALL="$SOURCE-$VERSION.tar.gz" 39.7 -WEB_SITE="http://cpan.org/" 39.8 +WEB_SITE="https://metacpan.org/dist/RFC-RFC822-Address" 39.9 WGET_URL="https://metacpan.org/CPAN/authors/id/A/AB/ABIGAIL/$TARBALL" 39.10 39.11 +current_version() 39.12 +{ 39.13 + wget -O - $WEB_SITE 2>/dev/null | \ 39.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 39.15 +} 39.16 + 39.17 # Rules to configure and make the package. 39.18 compile_rules() 39.19 {
40.1 --- a/perl-smtp-ssl/receipt Fri Sep 17 10:35:57 2021 +0000 40.2 +++ b/perl-smtp-ssl/receipt Fri Sep 17 14:12:38 2021 +0000 40.3 @@ -10,9 +10,15 @@ 40.4 BUILD_DEPENDS="perl" 40.5 SOURCE="Net-SMTP-SSL" 40.6 TARBALL="$SOURCE-$VERSION.tar.gz" 40.7 -WEB_SITE="http://cpan.org/" 40.8 +WEB_SITE="https://metacpan.org/dist/Net-SMTP-SSL" 40.9 WGET_URL="https://metacpan.org/CPAN/authors/id/C/CW/CWEST/$TARBALL" 40.10 40.11 +current_version() 40.12 +{ 40.13 + wget -O - $WEB_SITE 2>/dev/null | \ 40.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 40.15 +} 40.16 + 40.17 # Rules to configure and make the package. 40.18 compile_rules() 40.19 {
41.1 --- a/perl-soap-lite/receipt Fri Sep 17 10:35:57 2021 +0000 41.2 +++ b/perl-soap-lite/receipt Fri Sep 17 14:12:38 2021 +0000 41.3 @@ -10,9 +10,15 @@ 41.4 BUILD_DEPENDS="perl" 41.5 SOURCE="SOAP-Lite" 41.6 TARBALL="$SOURCE-$VERSION.tar.gz" 41.7 -WEB_SITE="http://www.cpan.org/modules/" 41.8 +WEB_SITE="https://metacpan.org/dist/SOAP-Lite" 41.9 WGET_URL="https://metacpan.org/CPAN/authors/id/M/MK/MKUTTER/$TARBALL" 41.10 41.11 +current_version() 41.12 +{ 41.13 + wget -O - $WEB_SITE 2>/dev/null | \ 41.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 41.15 +} 41.16 + 41.17 # Rules to configure and make the package. 41.18 compile_rules() 41.19 {
42.1 --- a/perl-sub-identify/receipt Fri Sep 17 10:35:57 2021 +0000 42.2 +++ b/perl-sub-identify/receipt Fri Sep 17 14:12:38 2021 +0000 42.3 @@ -10,9 +10,15 @@ 42.4 BUILD_DEPENDS="perl" 42.5 SOURCE="Sub-Identify" 42.6 TARBALL="$SOURCE-$VERSION.tar.gz" 42.7 -WEB_SITE="http://cpan.org/" 42.8 +WEB_SITE="https://metacpan.org/dist/Sub-Identify" 42.9 WGET_URL="https://cpan.metacpan.org/authors/id/R/RG/RGARCIA/$TARBALL" 42.10 42.11 +current_version() 42.12 +{ 42.13 + wget -O - $WEB_SITE 2>/dev/null | \ 42.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 42.15 +} 42.16 + 42.17 # Rules to configure and make the package. 42.18 compile_rules() 42.19 {
43.1 --- a/perl-test-tester/receipt Fri Sep 17 10:35:57 2021 +0000 43.2 +++ b/perl-test-tester/receipt Fri Sep 17 14:12:38 2021 +0000 43.3 @@ -14,6 +14,12 @@ 43.4 DEPENDS="perl" 43.5 BUILD_DEPENDS="perl" 43.6 43.7 +current_version() 43.8 +{ 43.9 + wget -O - $WEB_SITE 2>/dev/null | \ 43.10 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 43.11 +} 43.12 + 43.13 # Rules to configure and make the package. 43.14 compile_rules() 43.15 {
44.1 --- a/perl-texi2html/receipt Fri Sep 17 10:35:57 2021 +0000 44.2 +++ b/perl-texi2html/receipt Fri Sep 17 14:12:38 2021 +0000 44.3 @@ -14,6 +14,12 @@ 44.4 DEPENDS="perl" 44.5 BUILD_DEPENDS="perl" 44.6 44.7 +current_version() 44.8 +{ 44.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 44.10 + sed '/>texi2html-/!d;/tar/!d;s|.*texi2html-||;s|.tar.*||' | sort -Vr | sed q 44.11 +} 44.12 + 44.13 # Rules to configure and make the package. 44.14 compile_rules() 44.15 {
45.1 --- a/perl-text-aspell/receipt Fri Sep 17 10:35:57 2021 +0000 45.2 +++ b/perl-text-aspell/receipt Fri Sep 17 14:12:38 2021 +0000 45.3 @@ -10,9 +10,15 @@ 45.4 BUILD_DEPENDS="perl aspell aspell-dev" 45.5 SOURCE="Text-Aspell" 45.6 TARBALL="$SOURCE-$VERSION.tar.gz" 45.7 -WEB_SITE="http://www.cpan.org/modules/" 45.8 +WEB_SITE="https://metacpan.org/dist/Text-Aspell" 45.9 WGET_URL="https://metacpan.org/CPAN/authors/id/H/HA/HANK/$TARBALL" 45.10 45.11 +current_version() 45.12 +{ 45.13 + wget -O - $WEB_SITE 2>/dev/null | \ 45.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 45.15 +} 45.16 + 45.17 # Rules to configure and make the package. 45.18 compile_rules() 45.19 {
46.1 --- a/perl-text-iconv/receipt Fri Sep 17 10:35:57 2021 +0000 46.2 +++ b/perl-text-iconv/receipt Fri Sep 17 14:12:38 2021 +0000 46.3 @@ -10,9 +10,15 @@ 46.4 BUILD_DEPENDS="perl" 46.5 SOURCE="Text-Iconv" 46.6 TARBALL="$SOURCE-$VERSION.tar.gz" 46.7 -WEB_SITE="http://cpan.org/" 46.8 +WEB_SITE="https://metacpan.org/dist/Text-Iconv" 46.9 WGET_URL="https://metacpan.org/CPAN/authors/id/M/MP/MPIOTR/$TARBALL" 46.10 46.11 +current_version() 46.12 +{ 46.13 + wget -O - $WEB_SITE 2>/dev/null | \ 46.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 46.15 +} 46.16 + 46.17 # Rules to configure and make the package. 46.18 compile_rules() 46.19 {
47.1 --- a/perl-unicode-map/receipt Fri Sep 17 10:35:57 2021 +0000 47.2 +++ b/perl-unicode-map/receipt Fri Sep 17 14:12:38 2021 +0000 47.3 @@ -10,9 +10,15 @@ 47.4 BUILD_DEPENDS="perl" 47.5 SOURCE="Unicode-Map" 47.6 TARBALL="$SOURCE-$VERSION.tar.gz" 47.7 -WEB_SITE="http://cpan.org/" 47.8 +WEB_SITE="https://metacpan.org/dist/Unicode-Map" 47.9 WGET_URL="http://cpan.org/authors/id/M/MS/MSCHWARTZ/$TARBALL" 47.10 47.11 +current_version() 47.12 +{ 47.13 + wget -O - $WEB_SITE 2>/dev/null | \ 47.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 47.15 +} 47.16 + 47.17 # Rules to configure and make the package. 47.18 compile_rules() 47.19 {
48.1 --- a/perl-unicode-maputf8/receipt Fri Sep 17 10:35:57 2021 +0000 48.2 +++ b/perl-unicode-maputf8/receipt Fri Sep 17 14:12:38 2021 +0000 48.3 @@ -10,9 +10,15 @@ 48.4 BUILD_DEPENDS="perl" 48.5 SOURCE="Unicode-MapUTF8" 48.6 TARBALL="$SOURCE-$VERSION.tar.gz" 48.7 -WEB_SITE="http://cpan.org/" 48.8 +WEB_SITE="https://metacpan.org/dist/Unicode-MapUTF8" 48.9 WGET_URL="https://metacpan.org/CPAN/authors/id/S/SN/SNOWHARE/$TARBALL" 48.10 48.11 +current_version() 48.12 +{ 48.13 + wget -O - $WEB_SITE 2>/dev/null | \ 48.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 48.15 +} 48.16 + 48.17 # Rules to configure and make the package. 48.18 compile_rules() 48.19 {
49.1 --- a/perl-universal-require/receipt Fri Sep 17 10:35:57 2021 +0000 49.2 +++ b/perl-universal-require/receipt Fri Sep 17 14:12:38 2021 +0000 49.3 @@ -10,9 +10,15 @@ 49.4 BUILD_DEPENDS="perl" 49.5 SOURCE="UNIVERSAL-require" 49.6 TARBALL="$SOURCE-$VERSION.tar.gz" 49.7 -WEB_SITE="http://cpan.org/" 49.8 +WEB_SITE="https://metacpan.org/dist/UNIVERSAL-require" 49.9 WGET_URL="https://cpan.metacpan.org/authors/id/N/NE/NEILB/$TARBALL" 49.10 49.11 +current_version() 49.12 +{ 49.13 + wget -O - $WEB_SITE 2>/dev/null | \ 49.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 49.15 +} 49.16 + 49.17 # Rules to configure and make the package. 49.18 compile_rules() 49.19 {
50.1 --- a/perl-unix-mknod/receipt Fri Sep 17 10:35:57 2021 +0000 50.2 +++ b/perl-unix-mknod/receipt Fri Sep 17 14:12:38 2021 +0000 50.3 @@ -8,12 +8,18 @@ 50.4 LICENSE="GPL" 50.5 SOURCE="Unix-Mknod" 50.6 TARBALL="$SOURCE-$VERSION.tar.gz" 50.7 -WEB_SITE="http://cpan.org/" 50.8 +WEB_SITE="https://metacpan.org/dist/Unix-Mknod" 50.9 WGET_URL="https://metacpan.org/CPAN/authors/id/P/PI/PIRZYK/$TARBALL" 50.10 50.11 DEPENDS="perl" 50.12 BUILD_DEPENDS="perl" 50.13 50.14 +current_version() 50.15 +{ 50.16 + wget -O - $WEB_SITE 2>/dev/null | \ 50.17 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 50.18 +} 50.19 + 50.20 # Rules to configure and make the package. 50.21 compile_rules() 50.22 {
51.1 --- a/perl-xml-treepp/receipt Fri Sep 17 10:35:57 2021 +0000 51.2 +++ b/perl-xml-treepp/receipt Fri Sep 17 14:12:38 2021 +0000 51.3 @@ -10,9 +10,15 @@ 51.4 BUILD_DEPENDS="perl" 51.5 SOURCE="XML-TreePP" 51.6 TARBALL="$SOURCE-$VERSION.tar.gz" 51.7 -WEB_SITE="http://cpan.org/" 51.8 +WEB_SITE="https://metacpan.org/dist/XML-TreePP" 51.9 WGET_URL="https://cpan.metacpan.org/authors/id/K/KA/KAWASAKI/$TARBALL" 51.10 51.11 +current_version() 51.12 +{ 51.13 + wget -O - $WEB_SITE 2>/dev/null | \ 51.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 51.15 +} 51.16 + 51.17 # Rules to configure and make the package. 51.18 compile_rules() 51.19 {