wok-next annotate perl-cgi/receipt @ rev 20820
Update Perl modules
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 13 23:41:47 2018 +0300 (2018-06-13) |
parents | 1a86cb99cbbf |
children | 4e6503d7a19f |
rev | line source |
---|---|
pascal@14698 | 1 # SliTaz package receipt. |
pascal@14698 | 2 |
pascal@14698 | 3 PACKAGE="perl-cgi" |
al@20820 | 4 VERSION="4.38" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="CGI - Handle Common Gateway Interface requests and responses" |
pascal@14698 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/CGI" |
al@19709 | 10 |
al@19709 | 11 TARBALL="CGI-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/L/LE/LEEJO/$TARBALL" |
al@19709 | 13 |
al@19709 | 14 DEPENDS="perl-html-parser" |
al@19709 | 15 BUILD_DEPENDS="$DEPENDS perl-test-deep perl-test-nowarnings perl-test-warn" |
pascal@14698 | 16 |
pascal@14698 | 17 # Rules to configure and make the package. |
pascal@14698 | 18 compile_rules() |
pascal@14698 | 19 { |
pascal@14698 | 20 perl Makefile.PL && |
al@19709 | 21 make && make DESTDIR=$install install && |
al@19709 | 22 |
al@19709 | 23 chmod -R u+w $install |
pascal@14698 | 24 } |
pascal@14698 | 25 |
pascal@14698 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14698 | 27 genpkg_rules() |
pascal@14698 | 28 { |
al@19709 | 29 copy @std |
pascal@14698 | 30 } |