wok-next diff perl-net-http/receipt @ rev 19763

Up libffi, python, some python-* packages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 10 21:12:27 2017 +0300 (2017-06-10)
parents 4451c4e24ec0
children 0e7893ac206d
line diff
     1.1 --- a/perl-net-http/receipt	Fri Jun 07 20:11:00 2013 +0200
     1.2 +++ b/perl-net-http/receipt	Sat Jun 10 21:12:27 2017 +0300
     1.3 @@ -1,30 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-net-http"
     1.7 -VERSION="6.03"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Low-level HTTP connection (client)"
    1.10 +VERSION="6.14"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="Net::HTTP - Low-level HTTP connection (client)"
    1.13  MAINTAINER="erjo@slitaz.org"
    1.14  LICENSE="GPL"
    1.15 -SOURCE="Net-HTTP"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://search.cpan.org/dist/libwww-perl/"
    1.18 -WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL"
    1.19 +WEB_SITE="https://metacpan.org/release/Net-HTTP"
    1.20  
    1.21 -DEPENDS="perl perl-compress-raw-zlib perl-io-compress"
    1.22 -BUILD_DEPENDS="perl $DEPENDS"
    1.23 +TARBALL="Net-HTTP-$VERSION.tar.gz"
    1.24 +WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL"
    1.25 +
    1.26 +DEPENDS="perl-uri"
    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 &&	make &&	make DESTDIR=$DESTDIR install
    1.34 -	
    1.35 +	perl Makefile.PL &&
    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  }