wok diff perl-file-basedir/receipt @ rev 25591
enet: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 22 11:01:59 2023 +0000 (14 months ago) |
parents | ca4a422cce07 |
children | b27d8c263cba |
line diff
1.1 --- a/perl-file-basedir/receipt Fri Sep 17 14:12:38 2021 +0000 1.2 +++ b/perl-file-basedir/receipt Thu Jun 22 11:01:59 2023 +0000 1.3 @@ -1,17 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="perl-file-basedir" 1.7 -VERSION="0.03" 1.8 +VERSION="0.09" 1.9 CATEGORY="development" 1.10 SHORT_DESC="File::BaseDir module is a Perl extension." 1.11 MAINTAINER="paul@slitaz.org" 1.12 LICENSE="GPL" 1.13 -DEPENDS="perl" 1.14 -BUILD_DEPENDS="perl" 1.15 +WEB_SITE="https://metacpan.org/pod/File::BaseDir" 1.16 +REPOLOGY="perl:file-basedir" 1.17 SOURCE="File-BaseDir" 1.18 TARBALL="$SOURCE-$VERSION.tar.gz" 1.19 -WEB_SITE="https://metacpan.org/dist/File-BaseDir" 1.20 -WGET_URL="https://metacpan.org/CPAN/authors/id/P/PA/PARDUS/$TARBALL" 1.21 +WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL" 1.22 + 1.23 +DEPENDS="perl" 1.24 +BUILD_DEPENDS="perl perl-file-which perl-ipc-system-simple" 1.25 1.26 current_version() 1.27 { 1.28 @@ -22,16 +24,13 @@ 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - cd $src 1.33 perl Makefile.PL && 1.34 make && 1.35 - make DESTDIR=$DESTDIR install 1.36 + make install DESTDIR=$DESTDIR 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 + cook_copy_folders lib 1.45 } 1.46 -