summaryrefslogtreecommitdiff
path: root/package/perl-gdgraph
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-07-18 15:43:39 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-18 19:49:37 +0200
commitc38a9fb093669443b17a87344390746acaf3fbc1 (patch)
tree8e9a011a6fb32246348cd5e15082e183abfc946d /package/perl-gdgraph
parent5c58e0adb3f8892351e74da49f4527069ba4e0e4 (diff)
perl-gdgraph: 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-gdgraph')
-rw-r--r--package/perl-gdgraph/Config.in12
-rw-r--r--package/perl-gdgraph/perl-gdgraph.mk14
2 files changed, 26 insertions, 0 deletions
diff --git a/package/perl-gdgraph/Config.in b/package/perl-gdgraph/Config.in
new file mode 100644
index 000000000..e722c062b
--- /dev/null
+++ b/package/perl-gdgraph/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_PERL_GDGRAPH
+ bool "perl-gdgraph"
+ depends on !BR2_PREFER_STATIC_LIB
+ select BR2_PACKAGE_PERL_GD
+ select BR2_PACKAGE_PERL_GDTEXTUTIL
+ help
+ Produces charts with GD
+
+ https://metacpan.org/release/GDGraph
+
+comment "perl-gdgraph needs a toolchain w/ dynamic library"
+ depends on BR2_PREFER_STATIC_LIB
diff --git a/package/perl-gdgraph/perl-gdgraph.mk b/package/perl-gdgraph/perl-gdgraph.mk
new file mode 100644
index 000000000..856c91c94
--- /dev/null
+++ b/package/perl-gdgraph/perl-gdgraph.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-gdgraph
+#
+################################################################################
+
+PERL_GDGRAPH_VERSION = 1.48
+PERL_GDGRAPH_SOURCE = GDGraph-$(PERL_GDGRAPH_VERSION).tar.gz
+PERL_GDGRAPH_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RU/RUZ/
+PERL_GDGRAPH_DEPENDENCIES = perl perl-gd perl-gdtextutil
+PERL_GDGRAPH_LICENSE = Artistic or GPLv1+
+PERL_GDGRAPH_LICENSE_FILES = Dustismo.LICENSE
+
+$(eval $(perl-package))