wok-next diff perl-extutils-pkgconfig/receipt @ rev 20256

ecm: tiny patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 15:55:13 2017 +0100 (2017-11-07)
parents a069b393eeda
children 4e6503d7a19f
line diff
     1.1 --- a/perl-extutils-pkgconfig/receipt	Mon Jul 22 19:45:46 2013 -0300
     1.2 +++ b/perl-extutils-pkgconfig/receipt	Tue Nov 07 15:55:13 2017 +0100
     1.3 @@ -1,31 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-extutils-pkgconfig"
     1.7 -SOURCE="ExtUtils-PkgConfig"
     1.8 -VERSION="1.14"
     1.9 -CATEGORY="development"
    1.10 -SHORT_DESC="Simplistic interface to pkg-config"
    1.11 +VERSION="1.16"
    1.12 +CATEGORY="perl"
    1.13 +SHORT_DESC="ExtUtils::PkgConfig - simplistic interface to pkg-config"
    1.14  MAINTAINER="claudinei@slitaz.org"
    1.15 -LICENSE="GPL"
    1.16 +LICENSE="LGPL2.1"
    1.17 +WEB_SITE="https://metacpan.org/release/ExtUtils-PkgConfig"
    1.18 +
    1.19 +TARBALL="ExtUtils-PkgConfig-$VERSION.tar.gz"
    1.20 +WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"
    1.21 +
    1.22  DEPENDS="perl pkg-config"
    1.23 -BUILD_DEPENDS="perl pkg-config"
    1.24 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.25 -WEB_SITE="http://search.cpan.org/~xaoc/ExtUtils-PkgConfig-1.14/"
    1.26 -WGET_URL="http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/$TARBALL"
    1.27 +BUILD_DEPENDS="$DEPENDS"
    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 -