wok-next diff perl-appconfig/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | ccf05f4f5e58 |
children | 4e6503d7a19f |
line diff
1.1 --- a/perl-appconfig/receipt Tue Mar 24 17:45:43 2015 +0000 1.2 +++ b/perl-appconfig/receipt Sat Nov 04 09:19:58 2017 +0100 1.3 @@ -2,35 +2,30 @@ 1.4 1.5 PACKAGE="perl-appconfig" 1.6 VERSION="1.71" 1.7 -CATEGORY="development" 1.8 -SHORT_DESC="Perl/CPAN Module AppConfig" 1.9 +CATEGORY="perl" 1.10 +SHORT_DESC="AppConfig - Perl5 module for reading configuration files and \ 1.11 +parsing command line arguments" 1.12 MAINTAINER="nneul@neulinger.org" 1.13 LICENSE="Artistic" 1.14 +WEB_SITE="https://metacpan.org/release/AppConfig" 1.15 + 1.16 +TARBALL="AppConfig-$VERSION.tar.gz" 1.17 +WGET_URL="https://cpan.metacpan.org/authors/id/N/NE/NEILB/$TARBALL" 1.18 + 1.19 DEPENDS="perl" 1.20 BUILD_DEPENDS="perl" 1.21 -SOURCE="AppConfig" 1.22 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.23 -WEB_SITE="http://search.cpan.org/dist/AppConfig/" 1.24 -WGET_URL="http://www.cpan.org/authors/id/N/NE/NEILB/$TARBALL" 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 - mkdir -p $fs/usr 1.42 - cp -a $install/usr/lib $fs/usr 1.43 - # remove perllocal.pod and .packlist 1.44 - find ${fs} -name perllocal.pod -delete 1.45 - find ${fs} -name .packlist -delete 1.46 - 1.47 - 1.48 + copy @std 1.49 } 1.50 -