wok-next diff perl-gd/receipt @ rev 20955

Update Perl packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Sep 03 10:09:42 2018 +0300 (2018-09-03)
parents 4e6503d7a19f
children f17e1f86f546
line diff
     1.1 --- a/perl-gd/receipt	Thu Jul 12 18:34:58 2018 +0300
     1.2 +++ b/perl-gd/receipt	Mon Sep 03 10:09:42 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="perl-gd"
     1.8 -VERSION="2.68"
     1.9 +VERSION="2.69"
    1.10  CATEGORY="perl"
    1.11  SHORT_DESC="GD - Interface to Gd Graphics Library"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13 @@ -12,22 +12,19 @@
    1.14  TARBALL="GD-$VERSION.tar.gz"
    1.15  WGET_URL="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/$TARBALL"
    1.16  
    1.17 -DEPENDS="perl libgd"
    1.18  BUILD_DEPENDS="perl-dev libgd-dev libgd perl-extutils-pkgconfig"
    1.19  
    1.20 -# Rules to configure and make the package.
    1.21 -compile_rules()
    1.22 -{
    1.23 +compile_rules() {
    1.24  	# avoid interactive questions
    1.25  	PERL_MM_USE_DEFAULT=1 \
    1.26  	perl Makefile.PL &&
    1.27 -	make && make DESTDIR=$install install &&
    1.28 +	make &&
    1.29 +	make DESTDIR=$install install &&
    1.30  
    1.31  	chmod -R u+w $install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 +genpkg_rules() {
    1.38  	copy @std
    1.39 +	DEPENDS="perl libgd"
    1.40  }