wok-next diff perl-www-robotrules/receipt @ rev 20010
Up rsnapshot (1.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 21 18:08:51 2017 +0200 (2017-10-21) |
parents | 2d12ebd38be4 |
children | 0e7893ac206d |
line diff
1.1 --- a/perl-www-robotrules/receipt Fri Jun 07 18:46:07 2013 +0200 1.2 +++ b/perl-www-robotrules/receipt Sat Oct 21 18:08:51 2017 +0200 1.3 @@ -2,30 +2,29 @@ 1.4 1.5 PACKAGE="perl-www-robotrules" 1.6 VERSION="6.02" 1.7 -CATEGORY="development" 1.8 -SHORT_DESC="Database of robots.txt-derived permissions" 1.9 +CATEGORY="perl" 1.10 +SHORT_DESC="WWW::RobotRules - database of robots.txt-derived permissions" 1.11 MAINTAINER="erjo@slitaz.org" 1.12 LICENSE="GPL" 1.13 -SOURCE="WWW-RobotRules" 1.14 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 -WEB_SITE="http://search.cpan.org/dist/libwww-perl/" 1.16 -WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL" 1.17 +WEB_SITE="https://metacpan.org/release/WWW-RobotRules" 1.18 1.19 -DEPENDS="perl perl-uri" 1.20 -BUILD_DEPENDS="perl $DEPENDS" 1.21 +TARBALL="WWW-RobotRules-$VERSION.tar.gz" 1.22 +WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL" 1.23 + 1.24 +DEPENDS="perl-uri" 1.25 +BUILD_DEPENDS="$DEPENDS" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - cd $src 1.31 - perl Makefile.PL && make && make DESTDIR=$DESTDIR install 1.32 - 1.33 + perl Makefile.PL && 1.34 + make && make DESTDIR=$install install && 1.35 + 1.36 + chmod -R u+w $install 1.37 } 1.38 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 genpkg_rules() 1.41 { 1.42 - mkdir -p $fs/usr 1.43 - cp -a $install/usr/lib $fs/usr 1.44 + copy @std 1.45 } 1.46 -