wok-next diff perl-file-listing/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 2d12ebd38be4 |
children | 0e7893ac206d |
line diff
1.1 --- a/perl-file-listing/receipt Fri Jun 07 18:46:07 2013 +0200 1.2 +++ b/perl-file-listing/receipt Mon Nov 06 10:18:18 2017 +0100 1.3 @@ -2,30 +2,29 @@ 1.4 1.5 PACKAGE="perl-file-listing" 1.6 VERSION="6.04" 1.7 -CATEGORY="development" 1.8 -SHORT_DESC="File::Listing - parse directory listing." 1.9 +CATEGORY="perl" 1.10 +SHORT_DESC="File::Listing - parse directory listing" 1.11 MAINTAINER="erjo@slitaz.org" 1.12 LICENSE="GPL" 1.13 -DEPENDS="perl" 1.14 -BUILD_DEPENDS="perl" 1.15 -SOURCE="File-Listing" 1.16 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://cpan.org/" 1.18 -WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" 1.19 +WEB_SITE="https://metacpan.org/release/File-Listing" 1.20 + 1.21 +TARBALL="File-Listing-$VERSION.tar.gz" 1.22 +WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL" 1.23 + 1.24 +DEPENDS="perl-http-date" 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 && 1.32 - make && 1.33 - make DESTDIR=$DESTDIR install 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 -