python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / perl-gd / perl-gd.mk
blob2ad966c15c7a6111929abd8df2c6effbdfd30556
1 ################################################################################
3 # perl-gd
5 ################################################################################
7 PERL_GD_VERSION = 2.56
8 PERL_GD_SOURCE = GD-$(PERL_GD_VERSION).tar.gz
9 PERL_GD_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LD/LDS
10 PERL_GD_DEPENDENCIES = zlib libpng freetype gd
11 PERL_GD_LICENSE = Artistic or GPLv1+
12 PERL_GD_LICENSE_FILES = LICENSE
13 PERL_GD_PREFER_INSTALLER = EUMM
15 define PERL_GD_MOVE_XS
16 mv $(@D)/lib/GD.xs $(@D)/GD.xs
17 endef
18 PERL_GD_POST_PATCH_HOOKS += PERL_GD_MOVE_XS
20 PERL_GD_CONF_OPTS = \
21 -options=FT,PNG \
22 -lib_gd_path=$(STAGING_DIR)/usr \
23 -lib_ft_path=$(STAGING_DIR)/usr \
24 -lib_png_path=$(STAGING_DIR)/usr \
25 -lib_zlib_path=$(STAGING_DIR)/usr \
26 -ignore_missing_gd \
27 -gdlib=$(STAGING_DIR)/usr/bin/gdlib-config
29 $(eval $(perl-package))