wok-current rev 24209
updated perl-file-mimeinfo (0.29 -> 0.30)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:48:10 2021 +0100 (2021-12-31) |
parents | dffab21eed42 |
children | 76730de9420b |
files | perl-file-mimeinfo/description.txt perl-file-mimeinfo/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-file-mimeinfo/description.txt Fri Dec 31 15:48:10 2021 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +This module can be used to determine the mime type of a file. 1.5 +It tries to implement the freedesktop specification for a shared 1.6 +MIME database. 1.7 + 1.8 +For this module shared-mime-info-spec 0.13 was used. 1.9 + 1.10 +This package only uses the globs file. No real magic checking is used. 1.11 +The File::MimeInfo::Magic package is provided for magic typing. 1.12 + 1.13 +If you want to determine the mimetype of data in a memory buffer you 1.14 +should use File::MimeInfo::Magic in combination with IO::Scalar. 1.15 + 1.16 +This module loads the various data files when needed. 1.17 +If you want to hash data earlier see the rehash methods below.
2.1 --- a/perl-file-mimeinfo/receipt Fri Dec 31 15:45:38 2021 +0100 2.2 +++ b/perl-file-mimeinfo/receipt Fri Dec 31 15:48:10 2021 +0100 2.3 @@ -1,12 +1,13 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-file-mimeinfo" 2.7 -VERSION="0.29" 2.8 +VERSION="0.30" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Perl extension File::MimeInfo." 2.11 MAINTAINER="paul@slitaz.org" 2.12 LICENSE="GPL" 2.13 -WEB_SITE="https://metacpan.org/release/File-MimeInfo" 2.14 +WEB_SITE="https://metacpan.org/pod/File::MimeInfo" 2.15 +REPOLOGY="perl:file-mimeinfo" 2.16 2.17 SOURCE="File-MimeInfo" 2.18 TARBALL="$SOURCE-$VERSION.tar.gz" 2.19 @@ -26,12 +27,11 @@ 2.20 { 2.21 perl Makefile.PL && 2.22 make && 2.23 - make DESTDIR=$DESTDIR install 2.24 + make install DESTDIR=$DESTDIR 2.25 } 2.26 2.27 # Rules to gen a SliTaz package suitable for Tazpkg. 2.28 genpkg_rules() 2.29 { 2.30 - mkdir -p $fs/usr 2.31 - cp -a $install/usr/lib $fs/usr 2.32 + cook_copy_folders lib 2.33 }