kumquat-buildroot/package/perl-gd/perl-gd.mk
Francois Perrad 31c3ad17ed 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>
2017-01-29 14:57:04 +01:00

25 lines
724 B
Makefile

################################################################################
#
# perl-gd
#
################################################################################
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 or GPLv1+
PERL_GD_LICENSE_FILES = LICENSE
PERL_GD_PREFER_INSTALLER = EUMM
PERL_GD_CONF_OPTS = \
-options=FT,PNG \
-lib_gd_path=$(STAGING_DIR)/usr \
-lib_ft_path=$(STAGING_DIR)/usr \
-lib_png_path=$(STAGING_DIR)/usr \
-lib_zlib_path=$(STAGING_DIR)/usr \
-ignore_missing_gd \
-gdlib=$(STAGING_DIR)/usr/bin/gdlib-config
$(eval $(perl-package))