aboutsummaryrefslogtreecommitdiff
path: root/package/perl-gd/perl-gd.mk
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2014-07-18 15:43:37 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-18 19:48:05 +0200
commit39d1f0645ea21a36eeeabd6406429ccbdc7d48b7 (patch)
treed61da4e5b274aa32fe6bb72225e7ad2f996272e8 /package/perl-gd/perl-gd.mk
parent6d3962f0bd0e0f989299eae40f88ede9c5483644 (diff)
downloadbuildroot-39d1f0645ea21a36eeeabd6406429ccbdc7d48b7.tar.gz
buildroot-39d1f0645ea21a36eeeabd6406429ccbdc7d48b7.tar.bz2
perl-gd: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/perl-gd/perl-gd.mk')
-rw-r--r--package/perl-gd/perl-gd.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/perl-gd/perl-gd.mk b/package/perl-gd/perl-gd.mk
new file mode 100644
index 0000000000..8bb677881a
--- /dev/null
+++ b/package/perl-gd/perl-gd.mk
@@ -0,0 +1,22 @@
+################################################################################
+#
+# perl-gd
+#
+################################################################################
+
+PERL_GD_VERSION = 2.53
+PERL_GD_SOURCE = GD-$(PERL_GD_VERSION).tar.gz
+PERL_GD_SITE = $(BR2_CPAN_MIRROR)/authors/id/L/LD/LDS/
+PERL_GD_DEPENDENCIES = perl zlib libpng freetype gd
+PERL_GD_LICENSE = Artistic-2.0 or GPLv1+
+PERL_GD_LICENSE_FILES = LICENSE
+
+PERL_GD_CONF_OPT = \
+ -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
+
+$(eval $(perl-package))