perl-sys-cpu: new package
authorChristopher McCrory <chrismcc@gmail.com>
Mon, 20 Aug 2018 11:55:07 +0000 (04:55 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 12 Sep 2018 20:47:31 +0000 (22:47 +0200)
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/perl-sys-cpu/Config.in [new file with mode: 0644]
package/perl-sys-cpu/perl-sys-cpu.hash [new file with mode: 0644]
package/perl-sys-cpu/perl-sys-cpu.mk [new file with mode: 0644]

index 6db07e1ada199fc19adb466f3932d485529b2b9e..e454149002ef99784a916839f5bf65c42015c369 100644 (file)
@@ -506,6 +506,7 @@ F:  package/perl-module-runtime/
 F:     package/perl-number-bytes-human/
 F:     package/perl-params-util/
 F:     package/perl-sub-install/
+F:     package/perl-sys-cpu/
 F:     package/perl-sys-meminfo/
 F:     package/perl-sys-mmap/
 F:     package/perl-time-parsedate/
index bae9ed02b3cdefca0a75c4e8b0ebf403c028a52f..3faffca2716e446bc067471dee8bb6d53551eb77 100644 (file)
@@ -729,6 +729,7 @@ menu "Perl libraries/modules"
        source "package/perl-params-util/Config.in"
        source "package/perl-path-tiny/Config.in"
        source "package/perl-sub-install/Config.in"
+       source "package/perl-sys-cpu/Config.in"
        source "package/perl-sys-meminfo/Config.in"
        source "package/perl-sys-mmap/Config.in"
        source "package/perl-time-hires/Config.in"
diff --git a/package/perl-sys-cpu/Config.in b/package/perl-sys-cpu/Config.in
new file mode 100644 (file)
index 0000000..d5fff5b
--- /dev/null
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_PERL_SYS_CPU
+       bool "perl-sys-cpu"
+       help
+         perl-sys-cpu
+
diff --git a/package/perl-sys-cpu/perl-sys-cpu.hash b/package/perl-sys-cpu/perl-sys-cpu.hash
new file mode 100644 (file)
index 0000000..0977606
--- /dev/null
@@ -0,0 +1,2 @@
+# locally computed
+sha256 ca0ec47ab24070e3040e5075337cfc69721362d9bef50f6992072efe644d4d26  Sys-CPU-0.52.tar.gz
diff --git a/package/perl-sys-cpu/perl-sys-cpu.mk b/package/perl-sys-cpu/perl-sys-cpu.mk
new file mode 100644 (file)
index 0000000..8402bef
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-sys-cpu
+#
+################################################################################
+
+PERL_SYS_CPU_VERSION = 0.52
+PERL_SYS_CPU_SOURCE = Sys-CPU-$(PERL_SYS_CPU_VERSION).tar.gz
+PERL_SYS_CPU_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MK/MKODERER
+PERL_SYS_CPU_LICENSE = Artistic or GPL-1.0+
+PERL_SYS_CPU_LICENSE_FILES = README
+
+$(eval $(perl-package))