perl-datetime-tiny: new package
authorFrancois Perrad <fperrad@gmail.com>
Tue, 22 Jul 2014 18:17:53 +0000 (20:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 23 Jul 2014 19:45:55 +0000 (21:45 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/perl-datetime-tiny/Config.in [new file with mode: 0644]
package/perl-datetime-tiny/perl-datetime-tiny.mk [new file with mode: 0644]

index 703fd3d23e0061e9dba9f97ad23da6b75cf444bd..aa2f783ce99637fd22a067ce4ec36410883f4097 100644 (file)
@@ -431,6 +431,7 @@ endif
        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"
diff --git a/package/perl-datetime-tiny/Config.in b/package/perl-datetime-tiny/Config.in
new file mode 100644 (file)
index 0000000..e84db8b
--- /dev/null
@@ -0,0 +1,6 @@
+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
diff --git a/package/perl-datetime-tiny/perl-datetime-tiny.mk b/package/perl-datetime-tiny/perl-datetime-tiny.mk
new file mode 100644 (file)
index 0000000..8e691a8
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# 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))