wok-next diff perl-file-mimeinfo/receipt @ rev 19869

rhythmcat2, florence, alarm-clock-applet: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 27 17:55:19 2017 +0200 (2017-09-27)
parents 2d12ebd38be4
children 4e6503d7a19f
line diff
     1.1 --- a/perl-file-mimeinfo/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-file-mimeinfo/receipt	Wed Sep 27 17:55:19 2017 +0200
     1.3 @@ -1,31 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-file-mimeinfo"
     1.7 -VERSION="0.15"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="File::MimeInfo module is a Perl extension."
    1.10 +VERSION="0.28"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="File::MimeInfo - Determine file type from the file name"
    1.13  MAINTAINER="paul@slitaz.org"
    1.14  LICENSE="GPL"
    1.15 -DEPENDS="perl perl-file-basedir perl-file-desktopentry"
    1.16 -BUILD_DEPENDS="perl perl-file-basedir perl-file-desktopentry"
    1.17 -SOURCE="File-MimeInfo"
    1.18 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19 -WEB_SITE="http://cpan.org/"
    1.20 -WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PA/PARDUS/$SOURCE/$TARBALL"
    1.21 +WEB_SITE="https://metacpan.org/release/File-MimeInfo"
    1.22 +
    1.23 +TARBALL="File-MimeInfo-$VERSION.tar.gz"
    1.24 +WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MICHIELB/$TARBALL"
    1.25 +
    1.26 +DEPENDS="perl"
    1.27 +BUILD_DEPENDS="perl-file-basedir perl-file-desktopentry"
    1.28  
    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 && make DESTDIR=$install install &&
    1.37 +
    1.38 +	chmod -R u+w $install
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr
    1.45 -	cp -a $install/usr/lib $fs/usr
    1.46 +	copy @std
    1.47  }
    1.48 -