wok-next diff perl-class-singleton/receipt @ rev 20564
shell-detector, screenfetch: create $install tree
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 10 10:14:26 2018 +0200 (2018-04-10) |
parents | 615dd0551477 |
children | 4e6503d7a19f |
line diff
1.1 --- a/perl-class-singleton/receipt Sun Sep 27 20:12:10 2015 +0000 1.2 +++ b/perl-class-singleton/receipt Tue Apr 10 10:14:26 2018 +0200 1.3 @@ -2,29 +2,29 @@ 1.4 1.5 PACKAGE="perl-class-singleton" 1.6 VERSION="1.5" 1.7 -CATEGORY="development" 1.8 -SHORT_DESC="Class::Singleton is a perl module" 1.9 +CATEGORY="perl" 1.10 +SHORT_DESC="Class::Singleton - Implementation of a \"Singleton\" class" 1.11 MAINTAINER="nneul@neulinger.org" 1.12 LICENSE="GPL" 1.13 -WEB_SITE="http://search.cpan.org/dist/Class-Singleton" 1.14 -SOURCE="Class-Singleton" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 -WGET_URL="http://www.cpan.org/authors/id/S/SH/SHAY/$TARBALL" 1.17 +WEB_SITE="https://metacpan.org/release/Class-Singleton" 1.18 + 1.19 +TARBALL="Class-Singleton-$VERSION.tar.gz" 1.20 +WGET_URL="https://cpan.metacpan.org/authors/id/S/SH/SHAY/$TARBALL" 1.21 1.22 DEPENDS="perl" 1.23 -BUILD_DEPENDS="$DEPENDS" 1.24 +BUILD_DEPENDS="perl" 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 }