Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
source "package/perl/Config.in"
if BR2_PACKAGE_PERL
menu "Perl libraries/modules"
+ source "package/perl-datetime-tiny/Config.in"
source "package/perl-gd/Config.in"
source "package/perl-gdgraph/Config.in"
source "package/perl-gdtextutil/Config.in"
--- /dev/null
+config BR2_PACKAGE_PERL_DATETIME_TINY
+ bool "perl-datetime-tiny"
+ help
+ A datetime object with as little code as possible
+
+ https://metacpan.org/release/DateTime-Tiny
--- /dev/null
+################################################################################
+#
+# perl-datetime-tiny
+#
+################################################################################
+
+PERL_DATETIME_TINY_VERSION = 1.04
+PERL_DATETIME_TINY_SOURCE = DateTime-Tiny-$(PERL_DATETIME_TINY_VERSION).tar.gz
+PERL_DATETIME_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AD/ADAMK/
+PERL_DATETIME_TINY_DEPENDENCIES = perl
+PERL_DATETIME_TINY_LICENSE = Artistic or GPLv1+
+PERL_DATETIME_TINY_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))