wok-next diff perl-cgi/receipt @ rev 21695
updated gob2 (2.0.17 -> 2.0.20)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 30 15:37:32 2020 +0100 (2020-06-30) |
parents | 701a4b1784b6 |
children |
line diff
1.1 --- a/perl-cgi/receipt Mon Sep 03 10:09:42 2018 +0300 1.2 +++ b/perl-cgi/receipt Tue Jun 30 15:37:32 2020 +0100 1.3 @@ -1,29 +1,23 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 +ORIGIN="CGI" 1.7 PACKAGE="perl-cgi" 1.8 VERSION="4.40" 1.9 +AUTHOR="LEEJO" 1.10 CATEGORY="perl" 1.11 SHORT_DESC="CGI - Handle Common Gateway Interface requests and responses" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 -LICENSE="GPL" 1.14 -WEB_SITE="https://metacpan.org/release/CGI" 1.15 -REPOLOGY="perl:cgi" 1.16 +LICENSE="Perl" 1.17 +WEB_SITE="https://metacpan.org/release/$ORIGIN" 1.18 +HOST_ARCH="any" 1.19 +REPOLOGY="${PACKAGE/-/:}" 1.20 1.21 -TARBALL="CGI-$VERSION.tar.gz" 1.22 -WGET_URL="https://cpan.metacpan.org/authors/id/L/LE/LEEJO/$TARBALL" 1.23 +TARBALL="$ORIGIN-$VERSION.tar.gz" 1.24 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL" 1.25 1.26 -BUILD_DEPENDS="perl-html-parser perl-test-deep perl-test-nowarnings \ 1.27 -perl-test-warn" 1.28 +DEPENDS_std="perl-html-parser" 1.29 +BUILD_DEPENDS="$DEPENDS_std perl-test-deep perl-test-nowarnings perl-test-warn" 1.30 1.31 compile_rules() { 1.32 - perl Makefile.PL && 1.33 - make && 1.34 - make DESTDIR=$install install && 1.35 - 1.36 - chmod -R u+w $install 1.37 + cook_perl 1.38 } 1.39 - 1.40 -genpkg_rules() { 1.41 - copy @std 1.42 - DEPENDS="perl-html-parser" 1.43 -}