2014-07-18 15:43:37 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# perl-gd
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-01-24 09:25:33 +01:00
|
|
|
PERL_GD_VERSION = 2.56
|
2014-07-18 15:43:37 +02:00
|
|
|
PERL_GD_SOURCE = GD-$(PERL_GD_VERSION).tar.gz
|
2014-07-31 10:46:58 +02:00
|
|
|
PERL_GD_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LD/LDS
|
2015-09-04 10:31:14 +02:00
|
|
|
PERL_GD_DEPENDENCIES = zlib libpng freetype gd
|
2017-03-30 15:43:31 +02:00
|
|
|
PERL_GD_LICENSE = Artistic or GPL-1.0+
|
2014-07-18 15:43:37 +02:00
|
|
|
PERL_GD_LICENSE_FILES = LICENSE
|
2017-01-24 09:25:33 +01:00
|
|
|
PERL_GD_PREFER_INSTALLER = EUMM
|
2014-07-18 15:43:37 +02:00
|
|
|
|
2017-02-15 08:42:12 +01:00
|
|
|
define PERL_GD_MOVE_XS
|
|
|
|
mv $(@D)/lib/GD.xs $(@D)/GD.xs
|
|
|
|
endef
|
|
|
|
PERL_GD_POST_PATCH_HOOKS += PERL_GD_MOVE_XS
|
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
PERL_GD_CONF_OPTS = \
|
2014-07-18 15:43:37 +02:00
|
|
|
-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 \
|
2014-12-21 00:51:00 +01:00
|
|
|
-ignore_missing_gd \
|
|
|
|
-gdlib=$(STAGING_DIR)/usr/bin/gdlib-config
|
2014-07-18 15:43:37 +02:00
|
|
|
|
|
|
|
$(eval $(perl-package))
|