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

gimp: tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 04 17:32:49 2018 +0300 (2018-04-04)
parents dfb3d7f1daed
children 44d2daaccb67
line diff
     1.1 --- a/perl-gd/receipt	Wed Jun 14 09:51:23 2017 +0300
     1.2 +++ b/perl-gd/receipt	Wed Apr 04 17:32:49 2018 +0300
     1.3 @@ -1,31 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-gd"
     1.7 -VERSION="2.44"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="GD module is a Perl extension."
    1.10 +VERSION="2.66"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="GD - Interface to Gd Graphics Library"
    1.13  MAINTAINER="pascal.bellard@slitaz.org"
    1.14  LICENSE="GPL"
    1.15 +WEB_SITE="https://metacpan.org/release/GD"
    1.16 +
    1.17 +TARBALL="GD-$VERSION.tar.gz"
    1.18 +WGET_URL="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/$TARBALL"
    1.19 +
    1.20  DEPENDS="perl libgd"
    1.21 -BUILD_DEPENDS="perl-dev libgd-dev libgd"
    1.22 -SOURCE="GD"
    1.23 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.24 -WEB_SITE="http://cpan.org/"
    1.25 -WGET_URL="http://cpan.org/authors/id/L/LD/LDS/$TARBALL"
    1.26 +BUILD_DEPENDS="perl-dev libgd-dev libgd perl-extutils-pkgconfig"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32 -	perl Makefile.PL
    1.33 -	make
    1.34 -	make DESTDIR=$DESTDIR install
    1.35 +	# avoid interactive questions
    1.36 +	PERL_MM_USE_DEFAULT=1 \
    1.37 +	perl Makefile.PL &&
    1.38 +	make && make DESTDIR=$install install &&
    1.39 +
    1.40 +	chmod -R u+w $install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr
    1.47 -	cp -a $install/usr/lib $fs/usr
    1.48 +	copy @std
    1.49  }
    1.50 -