wok-6.x diff perl-gd/receipt @ rev 23909

Up tazinst (1021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 08 17:52:43 2020 +0000 (2020-08-08)
parents 2d12ebd38be4
children 15650f5d595b
line diff
     1.1 --- a/perl-gd/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-gd/receipt	Sat Aug 08 17:52:43 2020 +0000
     1.3 @@ -1,24 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-gd"
     1.7 -VERSION="2.44"
     1.8 +VERSION="2.71"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="GD module is a Perl extension."
    1.11 +SHORT_DESC="Perl extension GD."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL"
    1.14 -DEPENDS="perl libgd"
    1.15 -BUILD_DEPENDS="perl libgd-dev libgd"
    1.16 +WEB_SITE="https://metacpan.org/release/GD"
    1.17 +
    1.18  SOURCE="GD"
    1.19  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.20 -WEB_SITE="http://cpan.org/"
    1.21 -WGET_URL="http://cpan.org/authors/id/L/LD/LDS/$TARBALL"
    1.22 +WGET_URL="https://www.cpan.org/modules/by-module/GD/$TARBALL"
    1.23 +
    1.24 +DEPENDS="libgd perl"
    1.25 +BUILD_DEPENDS="libgd libgd-dev perl"
    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 +	perl Makefile.PL &&
    1.34 +	make &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38 @@ -26,6 +27,5 @@
    1.39  genpkg_rules()
    1.40  {
    1.41  	mkdir -p $fs/usr
    1.42 -	cp -a $install/usr/lib $fs/usr
    1.43 +	cp -a $install/usr/lib	$fs/usr
    1.44  }
    1.45 -