wok-current rev 23335

updated perl-gd (2.44 -> 2.71)
author Hans-G?nter Theisgen
date Tue Mar 31 07:22:48 2020 +0100 (2020-03-31)
parents 243d2dbe9a25
children bba2ce5f64b0
files perl-gd/receipt
line diff
     1.1 --- a/perl-gd/receipt	Tue Mar 31 07:16:50 2020 +0100
     1.2 +++ b/perl-gd/receipt	Tue Mar 31 07:22:48 2020 +0100
     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 -