cded7ae71a
We want to use SPDX identifier for licenses as much as possible. SPDX short identifier for GPLv1/GPLv1+ is GPL-1.0/GPL-1.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/GPLv1(\+)?/GPL-1.0\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
832 B
Makefile
30 lines
832 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 GPL-1.0+
|
|
PERL_GD_LICENSE_FILES = LICENSE
|
|
PERL_GD_PREFER_INSTALLER = EUMM
|
|
|
|
define PERL_GD_MOVE_XS
|
|
mv $(@D)/lib/GD.xs $(@D)/GD.xs
|
|
endef
|
|
PERL_GD_POST_PATCH_HOOKS += PERL_GD_MOVE_XS
|
|
|
|
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))
|