[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,20 @@
Drop <sys/unistd.h> include
<sys/unistd.h> does not exist in musl or uClibc, so including it
causes a build failure. In glibc, it simply redirects to <unistd.h>,
so we can safely drop the inclusion of <sys/unistd.h>
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Index: b/CPU.xs
===================================================================
--- a/CPU.xs
+++ b/CPU.xs
@@ -24,7 +24,6 @@
#include <winreg.h>
#else /* other (try unix) */
#include <unistd.h>
- #include <sys/unistd.h>
#endif
#if defined(__sun) || defined(__sun__)
#include <sys/processor.h>

View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_PERL_SYS_CPU
bool "perl-sys-cpu"
depends on !BR2_STATIC_LIBS
help
Perl module for getting information about the system CPU
(Sys::CPU).
http://search.cpan.org/dist/Sys-CPU/
comment "perl-sys-cpu needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

View File

@ -0,0 +1,3 @@
# locally computed
sha256 ca0ec47ab24070e3040e5075337cfc69721362d9bef50f6992072efe644d4d26 Sys-CPU-0.52.tar.gz
sha256 911a3f8e83dfff143794b34881e13f0759b498c31e067fc7dff0c2e641559e1e README

View File

@ -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))