wok-next diff perl-json/receipt @ rev 20113

Add some bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 30 09:29:31 2017 +0100 (2017-10-30)
parents b295d522518c
children 44d2daaccb67
line diff
     1.1 --- a/perl-json/receipt	Tue Mar 24 17:45:06 2015 +0000
     1.2 +++ b/perl-json/receipt	Mon Oct 30 09:29:31 2017 +0100
     1.3 @@ -2,35 +2,29 @@
     1.4  
     1.5  PACKAGE="perl-json"
     1.6  VERSION="2.90"
     1.7 -CATEGORY="development"
     1.8 -SHORT_DESC="Perl/CPAN Module JSON"
     1.9 +CATEGORY="perl"
    1.10 +SHORT_DESC="JSON - JSON (JavaScript Object Notation) encoder/decoder"
    1.11  MAINTAINER="nneul@neulinger.org"
    1.12 -LICENSE="Artistic"
    1.13 +LICENSE="GPL"
    1.14 +WEB_SITE="https://metacpan.org/release/JSON"
    1.15 +
    1.16 +TARBALL="JSON-$VERSION.tar.gz"
    1.17 +WGET_URL="https://cpan.metacpan.org/authors/id/M/MA/MAKAMAKA/$TARBALL"
    1.18 +
    1.19  DEPENDS="perl"
    1.20  BUILD_DEPENDS="perl"
    1.21 -SOURCE="JSON"
    1.22 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.23 -WEB_SITE="http://search.cpan.org/dist/JSON/"
    1.24 -WGET_URL="http://www.cpan.org/authors/id/M/MA/MAKAMAKA/$TARBALL"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30  	perl Makefile.PL &&
    1.31 -	make && 
    1.32 -	make DESTDIR=$DESTDIR install
    1.33 +	make && make DESTDIR=$install install &&
    1.34 +
    1.35 +	chmod -R u+w $install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr
    1.42 -	cp -a $install/usr/lib $fs/usr
    1.43 -	# remove perllocal.pod and .packlist
    1.44 -	find ${fs} -name perllocal.pod -delete
    1.45 -	find ${fs} -name .packlist -delete
    1.46 -
    1.47 -
    1.48 +	copy @std
    1.49  }
    1.50 -