wok-current rev 24207
updated perl-file-basedir (0.03 -> 0.09)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:40:31 2021 +0100 (2021-12-31) |
parents | fa65e0f9461c |
children | dffab21eed42 |
files | perl-file-basedir/description.txt perl-file-basedir/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-file-basedir/description.txt Fri Dec 31 15:40:31 2021 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +This module can be used to find directories and files as specified 1.5 +by the Freedesktop.org Base Directory Specification. 1.6 +This specifications gives a mechanism to locate directories for 1.7 +configuration, application data and cache data. 1.8 +It is suggested that desktop applications for e.g. the GNOME, KDE 1.9 +or Xfce platforms follow this layout. 1.10 +However, the same layout can just as well be used for non-GUI 1.11 +applications. 1.12 + 1.13 +This module forked from File::MimeInfo. 1.14 + 1.15 +This module follows version 0.6 of BaseDir specification.
2.1 --- a/perl-file-basedir/receipt Fri Dec 31 15:35:08 2021 +0100 2.2 +++ b/perl-file-basedir/receipt Fri Dec 31 15:40:31 2021 +0100 2.3 @@ -1,17 +1,19 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-file-basedir" 2.7 -VERSION="0.03" 2.8 +VERSION="0.09" 2.9 CATEGORY="development" 2.10 SHORT_DESC="File::BaseDir module is a Perl extension." 2.11 MAINTAINER="paul@slitaz.org" 2.12 LICENSE="GPL" 2.13 -DEPENDS="perl" 2.14 -BUILD_DEPENDS="perl" 2.15 +WEB_SITE="https://metacpan.org/pod/File::BaseDir" 2.16 +REPOLOGY="perl:file-basedir" 2.17 SOURCE="File-BaseDir" 2.18 TARBALL="$SOURCE-$VERSION.tar.gz" 2.19 -WEB_SITE="https://metacpan.org/dist/File-BaseDir" 2.20 -WGET_URL="https://metacpan.org/CPAN/authors/id/P/PA/PARDUS/$TARBALL" 2.21 +WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL" 2.22 + 2.23 +DEPENDS="perl" 2.24 +BUILD_DEPENDS="perl perl-file-which perl-ipc-system-simple" 2.25 2.26 current_version() 2.27 { 2.28 @@ -22,16 +24,13 @@ 2.29 # Rules to configure and make the package. 2.30 compile_rules() 2.31 { 2.32 - cd $src 2.33 perl Makefile.PL && 2.34 make && 2.35 - make DESTDIR=$DESTDIR install 2.36 + make install DESTDIR=$DESTDIR 2.37 } 2.38 2.39 # Rules to gen a SliTaz package suitable for Tazpkg. 2.40 genpkg_rules() 2.41 { 2.42 - mkdir -p $fs/usr 2.43 - cp -a $install/usr/lib $fs/usr 2.44 + cook_copy_folders lib 2.45 } 2.46 -