wok-next diff perl-module-install/receipt @ rev 21683
updated glances (1.5.1 -> 3.1.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 15:35:41 2020 +0100 (2020-06-29) |
parents | d5aab818505e |
children |
line diff
1.1 --- a/perl-module-install/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/perl-module-install/receipt Mon Jun 29 15:35:41 2020 +0100 1.3 @@ -1,29 +1,23 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 +ORIGIN="Module-Install" 1.7 PACKAGE="perl-module-install" 1.8 VERSION="1.19" 1.9 +AUTHOR="ETHER" 1.10 CATEGORY="perl" 1.11 SHORT_DESC="Module::Install - Standalone, extensible Perl module installer" 1.12 MAINTAINER="al.bobylev@gmail.com" 1.13 LICENSE="GPL" 1.14 -WEB_SITE="https://metacpan.org/release/Module-Install" 1.15 -REPOLOGY="perl:module-install" 1.16 +WEB_SITE="https://metacpan.org/release/$ORIGIN" 1.17 +HOST_ARCH="any" 1.18 +REPOLOGY="${PACKAGE/-/:}" 1.19 1.20 -TARBALL="Module-Install-$VERSION.tar.gz" 1.21 -WGET_URL="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$TARBALL" 1.22 +TARBALL="$ORIGIN-$VERSION.tar.gz" 1.23 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL" 1.24 1.25 -BUILD_DEPENDS="perl-file-remove perl-yaml-tiny perl-module-build \ 1.26 -perl-module-scandeps" 1.27 +DEPENDS_std="perl-file-remove perl-yaml-tiny perl-module-scandeps" 1.28 +BUILD_DEPENDS="$DEPENDS_std perl-module-build" 1.29 1.30 compile_rules() { 1.31 - perl Makefile.PL && 1.32 - make && 1.33 - make DESTDIR=$install install && 1.34 - 1.35 - chmod -R u+w $install 1.36 + cook_perl 1.37 } 1.38 - 1.39 -genpkg_rules() { 1.40 - copy @std 1.41 - DEPENDS="perl-file-remove perl-yaml-tiny perl-module-scandeps" 1.42 -}