wok-next diff perl-file-mimeinfo/receipt @ rev 20955
Update Perl packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Sep 03 10:09:42 2018 +0300 (2018-09-03) |
parents | 4e6503d7a19f |
children | f17e1f86f546 |
line diff
1.1 --- a/perl-file-mimeinfo/receipt Thu Jul 12 18:34:58 2018 +0300 1.2 +++ b/perl-file-mimeinfo/receipt Mon Sep 03 10:09:42 2018 +0300 1.3 @@ -1,7 +1,7 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="perl-file-mimeinfo" 1.8 -VERSION="0.28" 1.9 +VERSION="0.29" 1.10 CATEGORY="perl" 1.11 SHORT_DESC="File::MimeInfo - Determine file type from the file name" 1.12 MAINTAINER="paul@slitaz.org" 1.13 @@ -12,20 +12,17 @@ 1.14 TARBALL="File-MimeInfo-$VERSION.tar.gz" 1.15 WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/$TARBALL" 1.16 1.17 -DEPENDS="perl" 1.18 BUILD_DEPENDS="perl-file-basedir perl-file-desktopentry" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 +compile_rules() { 1.24 perl Makefile.PL && 1.25 - make && make DESTDIR=$install install && 1.26 + make && 1.27 + make DESTDIR=$install install && 1.28 1.29 chmod -R u+w $install 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 +genpkg_rules() { 1.36 copy @std 1.37 + DEPENDS="perl" 1.38 }