wok-next diff perl-module-runtime/receipt @ rev 20052
claws-mail: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 23 17:09:27 2017 +0200 (2017-10-23) |
parents | 3d257ce86aef |
children | 44d2daaccb67 |
line diff
1.1 --- a/perl-module-runtime/receipt Sun Sep 27 19:52:03 2015 +0000 1.2 +++ b/perl-module-runtime/receipt Mon Oct 23 17:09:27 2017 +0200 1.3 @@ -2,29 +2,29 @@ 1.4 1.5 PACKAGE="perl-module-runtime" 1.6 VERSION="0.014" 1.7 -CATEGORY="development" 1.8 -SHORT_DESC="Module::Runtime is a perl module" 1.9 +CATEGORY="perl" 1.10 +SHORT_DESC="Module::Runtime - runtime module handling" 1.11 MAINTAINER="nneul@neulinger.org" 1.12 LICENSE="GPL" 1.13 -WEB_SITE="http://search.cpan.org/dist/Module-Runtime" 1.14 -SOURCE="Module-Runtime" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 -WGET_URL="http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/$TARBALL" 1.17 +WEB_SITE="https://metacpan.org/release/Module-Runtime" 1.18 + 1.19 +TARBALL="Module-Runtime-$VERSION.tar.gz" 1.20 +WGET_URL="https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/$TARBALL" 1.21 1.22 DEPENDS="perl" 1.23 -BUILD_DEPENDS="$DEPENDS" 1.24 +BUILD_DEPENDS="perl-module-build" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 - cd $src 1.30 perl Makefile.PL && 1.31 - make && 1.32 - make DESTDIR=$DESTDIR install 1.33 + make && make DESTDIR=$install install && 1.34 + 1.35 + chmod -R u+w $install 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 genpkg_rules() 1.40 { 1.41 - cp -a $install/usr $fs 1.42 + copy @std 1.43 }