package/perl-time-hires: New package
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Apr 2015 10:17:00 +0000 (12:17 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Apr 2015 11:43:44 +0000 (13:43 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/perl-time-hires/Config.in [new file with mode: 0644]
package/perl-time-hires/perl-time-hires.hash [new file with mode: 0644]
package/perl-time-hires/perl-time-hires.mk [new file with mode: 0644]

index a6d5dcff93a6e15dc6f17be5ccc6fa420419ab6e..36a4915922f6d6dd9c087c4672f6f10e79e58a4d 100644 (file)
@@ -517,6 +517,7 @@ menu "Perl libraries/modules"
        source "package/perl-net-ssleay/Config.in"
        source "package/perl-netaddr-ip/Config.in"
        source "package/perl-path-tiny/Config.in"
+       source "package/perl-time-hires/Config.in"
        source "package/perl-try-tiny/Config.in"
        source "package/perl-xml-libxml/Config.in"
        source "package/perl-xml-namespacesupport/Config.in"
diff --git a/package/perl-time-hires/Config.in b/package/perl-time-hires/Config.in
new file mode 100644 (file)
index 0000000..e10c18a
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PERL_TIME_HIRES
+       bool "perl-time-hires"
+       help
+         High resolution alarm, sleep, gettimeofday, interval timers
+
+         http://search.cpan.org/dist/Time-HiRes/HiRes.pm
diff --git a/package/perl-time-hires/perl-time-hires.hash b/package/perl-time-hires/perl-time-hires.hash
new file mode 100644 (file)
index 0000000..1852340
--- /dev/null
@@ -0,0 +1,3 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    077e5d7eda1349f98c564026603f8a0a Time-HiRes-1.9726.tar.gz
+sha256 ff662ad9b1f6c75a149db7fa1bfc7a161ac8b271e5f3980345e08b734769109e Time-HiRes-1.9726.tar.gz
diff --git a/package/perl-time-hires/perl-time-hires.mk b/package/perl-time-hires/perl-time-hires.mk
new file mode 100644 (file)
index 0000000..79207c9
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-time-hires
+#
+################################################################################
+
+PERL_TIME_HIRES_VERSION = 1.9726
+PERL_TIME_HIRES_SOURCE = Time-HiRes-$(PERL_TIME_HIRES_VERSION).tar.gz
+PERL_TIME_HIRES_SITE = $(BR2_CPAN_MIRROR)/authors/id/Z/ZE/ZEFRAM
+PERL_TIME_HIRES_DEPENDENCIES = perl
+PERL_TIME_HIRES_LICENSE = Artistic or GPLv1+
+PERL_TIME_HIRES_LICENSE_FILES = README
+
+$(eval $(perl-package))