From 4f3e393663311f1c864eb25bcead5fe499c86f58 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Tue, 22 Jul 2014 20:17:53 +0200 Subject: [PATCH] perl-datetime-tiny: new package Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/perl-datetime-tiny/Config.in | 6 ++++++ package/perl-datetime-tiny/perl-datetime-tiny.mk | 14 ++++++++++++++ 3 files changed, 21 insertions(+) create mode 100644 package/perl-datetime-tiny/Config.in create mode 100644 package/perl-datetime-tiny/perl-datetime-tiny.mk diff --git a/package/Config.in b/package/Config.in index 703fd3d23e..aa2f783ce9 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..e84db8b7cb --- /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 0000000000..8e691a86b0 --- /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)) -- 2.30.2