wok-next diff perl-lwp-mediatypes/receipt @ rev 20223
luufs, lxpolkit, mcrypt: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 05 17:17:00 2017 +0100 (2017-11-05) |
parents | 2d12ebd38be4 |
children | 0e7893ac206d |
line diff
1.1 --- a/perl-lwp-mediatypes/receipt Fri Jun 07 18:46:07 2013 +0200 1.2 +++ b/perl-lwp-mediatypes/receipt Sun Nov 05 17:17:00 2017 +0100 1.3 @@ -2,14 +2,14 @@ 1.4 1.5 PACKAGE="perl-lwp-mediatypes" 1.6 VERSION="6.02" 1.7 -CATEGORY="development" 1.8 -SHORT_DESC="guess media type for a file or a URL" 1.9 +CATEGORY="perl" 1.10 +SHORT_DESC="LWP::MediaTypes - guess media type for a file or a URL" 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 LICENSE="GPL" 1.13 -WEB_SITE="http://search.cpan.org/dist/LWP-MediaTypes" 1.14 -SOURCE="LWP-MediaTypes" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 -WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" 1.17 +WEB_SITE="https://metacpan.org/release/LWP-MediaTypes" 1.18 + 1.19 +TARBALL="LWP-MediaTypes-$VERSION.tar.gz" 1.20 +WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL" 1.21 1.22 DEPENDS="perl" 1.23 BUILD_DEPENDS="perl" 1.24 @@ -17,14 +17,14 @@ 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - cd $src 1.29 perl Makefile.PL && 1.30 - make && 1.31 - make DESTDIR=$DESTDIR install 1.32 + make && make DESTDIR=$install install && 1.33 + 1.34 + chmod -R u+w $install 1.35 } 1.36 1.37 # Rules to gen a SliTaz package suitable for Tazpkg. 1.38 genpkg_rules() 1.39 { 1.40 - cp -a $install/* $fs 1.41 + copy @std 1.42 }