wok-next diff perl-http-parser/receipt @ rev 20331

Up chmlib, goocanvas, libnice; add goocanvas2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 15 06:36:18 2017 +0200 (2017-11-15)
parents 2d12ebd38be4
children 4e6503d7a19f
line diff
     1.1 --- a/perl-http-parser/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-http-parser/receipt	Wed Nov 15 06:36:18 2017 +0200
     1.3 @@ -2,32 +2,30 @@
     1.4  
     1.5  PACKAGE="perl-http-parser"
     1.6  VERSION="0.06"
     1.7 -CATEGORY="development"
     1.8 -SHORT_DESC="parse HTTP/1.1 request into HTTP::Request/Response object"
     1.9 +CATEGORY="perl"
    1.10 +SHORT_DESC="HTTP::Parser - parse HTTP/1.1 request into HTTP::Request/Response \
    1.11 +object"
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 -WEB_SITE="http://search.cpan.org/~edeca/HTTP-Parser-0.06/"
    1.15 -SOURCE="HTTP-Parser"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 -WGET_URL="http://search.cpan.org/CPAN/authors/id/E/ED/EDECA/$TARBALL"
    1.18 +WEB_SITE="https://metacpan.org/release/HTTP-Parser"
    1.19 +
    1.20 +TARBALL="HTTP-Parser-$VERSION.tar.gz"
    1.21 +WGET_URL="https://cpan.metacpan.org/authors/id/E/ED/EDECA/$TARBALL"
    1.22  
    1.23  DEPENDS="perl-http-message perl-uri"
    1.24 -BUILD_DEPENDS="perl $DEPENDS"
    1.25 +BUILD_DEPENDS="$DEPENDS"
    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 DESTDIR=$DESTDIR install     
    1.34 -}                                         
    1.35 -                                     
    1.36 +# Rules to configure and make the package.
    1.37 +compile_rules()
    1.38 +{
    1.39 +	perl Makefile.PL &&
    1.40 +	make && make DESTDIR=$install install &&
    1.41 +
    1.42 +	chmod -R u+w $install
    1.43 +}
    1.44 +
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46 -genpkg_rules()                                      
    1.47 -{                                                   
    1.48 -        mkdir -p $fs/usr                            
    1.49 -        cp -a $install/usr/lib $fs/usr                 
    1.50 -} 
    1.51 -
    1.52 -
    1.53 +genpkg_rules()
    1.54 +{
    1.55 +	copy @std
    1.56 +}