wok-next diff perl-mime-types/receipt @ rev 20715

Up nsd (4.1.21)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 13:10:46 2018 +0300 (2018-05-27)
parents 2d12ebd38be4
children 4e6503d7a19f
line diff
     1.1 --- a/perl-mime-types/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-mime-types/receipt	Sun May 27 13:10:46 2018 +0300
     1.3 @@ -1,31 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-mime-types"
     1.7 -VERSION="1.38"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="MIME::Types module is a Perl extension."
    1.10 +VERSION="2.13"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="MIME::Types - Definition of MIME types"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL"
    1.15 +WEB_SITE="https://metacpan.org/release/MIME-Types"
    1.16 +
    1.17 +TARBALL="MIME-Types-$VERSION.tar.gz"
    1.18 +WGET_URL="https://cpan.metacpan.org/authors/id/M/MA/MARKOV/$TARBALL"
    1.19 +
    1.20  DEPENDS="perl"
    1.21  BUILD_DEPENDS="perl"
    1.22 -SOURCE="MIME-Types"
    1.23 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.24 -WEB_SITE="http://cpan.org/"
    1.25 -WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/$TARBALL"
    1.26  
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31  	perl Makefile.PL &&
    1.32 -	make &&
    1.33 -	make install DESTDIR=$DESTDIR
    1.34 +	make && make DESTDIR=$install install &&
    1.35 +
    1.36 +	chmod -R u+w $install
    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 +	copy @std
    1.45  }
    1.46 -