summaryrefslogtreecommitdiff
path: root/package/perl-datetime-tiny
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-07-22 20:17:53 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-23 21:45:55 +0200
commit4f3e393663311f1c864eb25bcead5fe499c86f58 (patch)
treea67b4e35b9fefcf3939b43153620febab7b94b8d /package/perl-datetime-tiny
parent8062299ed1edebc931a6ef4bac8d27e3ce2e6595 (diff)
perl-datetime-tiny: 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-datetime-tiny')
-rw-r--r--package/perl-datetime-tiny/Config.in6
-rw-r--r--package/perl-datetime-tiny/perl-datetime-tiny.mk14
2 files changed, 20 insertions, 0 deletions
diff --git a/package/perl-datetime-tiny/Config.in b/package/perl-datetime-tiny/Config.in
new file mode 100644
index 000000000..e84db8b7c
--- /dev/null
+++ b/package/perl-datetime-tiny/Config.in
@@ -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
index 000000000..8e691a86b
--- /dev/null
+++ b/package/perl-datetime-tiny/perl-datetime-tiny.mk
@@ -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))