Jelajahi Sumber

package/perl-timedate: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls 10 tahun lalu
induk
melakukan
d78f0f042c

+ 1 - 0
package/Config.in

@@ -531,6 +531,7 @@ menu "Perl libraries/modules"
 	source "package/perl-netaddr-ip/Config.in"
 	source "package/perl-path-tiny/Config.in"
 	source "package/perl-time-hires/Config.in"
+	source "package/perl-timedate/Config.in"
 	source "package/perl-try-tiny/Config.in"
 	source "package/perl-uri/Config.in"
 	source "package/perl-www-robotrules/Config.in"

+ 6 - 0
package/perl-timedate/Config.in

@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_TIMEDATE
+	bool "perl-timedate"
+	help
+	  Date formating subroutines
+
+	  https://metacpan.org/release/TimeDate

+ 3 - 0
package/perl-timedate/perl-timedate.hash

@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    b1d91153ac971347aee84292ed886c1c TimeDate-2.30.tar.gz
+sha256 75bd254871cb5853a6aa0403ac0be270cdd75c9d1b6639f18ecba63c15298e86 TimeDate-2.30.tar.gz

+ 13 - 0
package/perl-timedate/perl-timedate.mk

@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-timedate
+#
+################################################################################
+
+PERL_TIMEDATE_VERSION = 2.30
+PERL_TIMEDATE_SOURCE = TimeDate-$(PERL_TIMEDATE_VERSION).tar.gz
+PERL_TIMEDATE_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GB/GBARR
+PERL_TIMEDATE_DEPENDENCIES = perl
+PERL_TIMEDATE_LICENSE = Artistic or GPLv1+
+
+$(eval $(perl-package))