aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2017-01-24 09:25:33 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-29 14:57:04 +0100
commit31c3ad17ed22b1d2d04ade1c0a3b942876592dfe (patch)
tree2ac04b76339d5cdfd639035432c67e9db941a970
parent7f102d8284acf6619a1e8119dc76dc48957a4bef (diff)
downloadbuildroot-31c3ad17ed22b1d2d04ade1c0a3b942876592dfe.tar.gz
buildroot-31c3ad17ed22b1d2d04ade1c0a3b942876592dfe.tar.bz2
perl-gd: bump to version 2.56
perl-gd now supplies a Build.PL, but this one is not cross-compilation friendly. So, we still use Makefile.PL like in previous version by using the new <pkg>_PREFER_INSTALLER variable. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/perl-gd/0002-lgd.patch4
-rw-r--r--package/perl-gd/0003-force.patch2
-rw-r--r--package/perl-gd/0004-gdlib-config-is-now-configurable.patch2
-rw-r--r--package/perl-gd/Config.in2
-rw-r--r--package/perl-gd/perl-gd.hash4
-rw-r--r--package/perl-gd/perl-gd.mk5
6 files changed, 10 insertions, 9 deletions
diff --git a/package/perl-gd/0002-lgd.patch b/package/perl-gd/0002-lgd.patch
index 4a69c2ae8e..2827cd76b3 100644
--- a/package/perl-gd/0002-lgd.patch
+++ b/package/perl-gd/0002-lgd.patch
@@ -7,7 +7,7 @@ Index: b/Makefile.PL
===================================================================
--- a/Makefile.PL
+++ b/Makefile.PL
-@@ -34,9 +34,9 @@
+@@ -42,9 +42,9 @@
END
}
@@ -18,7 +18,7 @@ Index: b/Makefile.PL
# support for AMD64 libraries
if (-d '/usr/lib64') {
-@@ -291,7 +291,6 @@
+@@ -294,7 +294,6 @@
@$LIBPATH = map {s/^-L// && "-L$_"} split /\s+/,$ldflags;
@$LIBS = split /\s+/,$libs;
diff --git a/package/perl-gd/0003-force.patch b/package/perl-gd/0003-force.patch
index 0a121a994e..611066b919 100644
--- a/package/perl-gd/0003-force.patch
+++ b/package/perl-gd/0003-force.patch
@@ -7,7 +7,7 @@ Index: b/Makefile.PL
===================================================================
--- a/Makefile.PL
+++ b/Makefile.PL
-@@ -35,13 +35,15 @@
+@@ -43,13 +43,15 @@
}
push @LIBS, "-lgd";
diff --git a/package/perl-gd/0004-gdlib-config-is-now-configurable.patch b/package/perl-gd/0004-gdlib-config-is-now-configurable.patch
index dea61261f6..58df2255a3 100644
--- a/package/perl-gd/0004-gdlib-config-is-now-configurable.patch
+++ b/package/perl-gd/0004-gdlib-config-is-now-configurable.patch
@@ -53,7 +53,7 @@ index dfe8ad7..0fa6ef3 100644
#############################################################################################
if ($^O eq 'VMS'){
-@@ -275,7 +286,7 @@ exit 0;
+@@ -278,7 +289,7 @@ exit 0;
sub try_to_autoconfigure {
my ($options,$lib_gd_path,$INC,$LIBPATH,$LIBS) = @_;
diff --git a/package/perl-gd/Config.in b/package/perl-gd/Config.in
index 61f7e5dadc..2b7a265f15 100644
--- a/package/perl-gd/Config.in
+++ b/package/perl-gd/Config.in
@@ -6,7 +6,7 @@ config BR2_PACKAGE_PERL_GD
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_GD
help
- Interface to Gd Graphics Library
+ Perl interface to the gd2 graphics library
https://metacpan.org/release/GD
diff --git a/package/perl-gd/perl-gd.hash b/package/perl-gd/perl-gd.hash
index c6822aeaf1..0c16d3f521 100644
--- a/package/perl-gd/perl-gd.hash
+++ b/package/perl-gd/perl-gd.hash
@@ -1,3 +1,3 @@
# retrieved by scancpan from http://cpan.metacpan.org/
-md5 d2c9b18123bcaff8672eb50f2eb37ed3 GD-2.53.tar.gz
-sha256 d05d01fe95e581adb3468cf05ab5d405db7497c0fb3ec7ecf23d023705fab7aa GD-2.53.tar.gz
+md5 c4b3afd98b2c4ce3c2e1027d101a8f1e GD-2.56.tar.gz
+sha256 1f103d1c98de8621504642ed7fb79f1b40f5f6a63c2abe9390a8ab78617248f9 GD-2.56.tar.gz
diff --git a/package/perl-gd/perl-gd.mk b/package/perl-gd/perl-gd.mk
index 99568cbf1d..ea8fd5cddb 100644
--- a/package/perl-gd/perl-gd.mk
+++ b/package/perl-gd/perl-gd.mk
@@ -4,12 +4,13 @@
#
################################################################################
-PERL_GD_VERSION = 2.53
+PERL_GD_VERSION = 2.56
PERL_GD_SOURCE = GD-$(PERL_GD_VERSION).tar.gz
PERL_GD_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LD/LDS
PERL_GD_DEPENDENCIES = zlib libpng freetype gd
-PERL_GD_LICENSE = Artistic-2.0 or GPLv1+
+PERL_GD_LICENSE = Artistic or GPLv1+
PERL_GD_LICENSE_FILES = LICENSE
+PERL_GD_PREFER_INSTALLER = EUMM
PERL_GD_CONF_OPTS = \
-options=FT,PNG \