[16/18] perl-sys-meminfo: new package

Message ID 20180810161502.21598-17-chrismcc@gmail.com
State Accepted
Headers show
Series
  • more perl modules
Related show

Commit Message

Christopher McCrory Aug. 10, 2018, 4:15 p.m.
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
 package/Config.in                              |  1 +
 package/perl-sys-meminfo/Config.in             | 10 ++++++++++
 package/perl-sys-meminfo/perl-sys-meminfo.hash |  6 ++++++
 package/perl-sys-meminfo/perl-sys-meminfo.mk   | 12 ++++++++++++
 4 files changed, 29 insertions(+)
 create mode 100644 package/perl-sys-meminfo/Config.in
 create mode 100644 package/perl-sys-meminfo/perl-sys-meminfo.hash
 create mode 100644 package/perl-sys-meminfo/perl-sys-meminfo.mk

Comments

François Perrad Aug. 12, 2018, 4:38 p.m. | #1
2018-08-10 18:15 GMT+02:00 Christopher McCrory <chrismcc@gmail.com>:

> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
>

Acked-by: Francois Perrad <francois.perrad@gadz.org>

---
>  package/Config.in                              |  1 +
>  package/perl-sys-meminfo/Config.in             | 10 ++++++++++
>  package/perl-sys-meminfo/perl-sys-meminfo.hash |  6 ++++++
>  package/perl-sys-meminfo/perl-sys-meminfo.mk   | 12 ++++++++++++
>  4 files changed, 29 insertions(+)
>  create mode 100644 package/perl-sys-meminfo/Config.in
>  create mode 100644 package/perl-sys-meminfo/perl-sys-meminfo.hash
>  create mode 100644 package/perl-sys-meminfo/perl-sys-meminfo.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 4f6d6dede6..dd3da6ebe6 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -723,6 +723,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-meminfo/Config.in"
>         source "package/perl-time-hires/Config.in"
>         source "package/perl-timedate/Config.in"
>         source "package/perl-try-tiny/Config.in"
> diff --git a/package/perl-sys-meminfo/Config.in
> b/package/perl-sys-meminfo/Config.in
> new file mode 100644
> index 0000000000..3e3155d6cb
> --- /dev/null
> +++ b/package/perl-sys-meminfo/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_PERL_SYS_MEMINFO
> +       bool "perl-sys-meminfo"
> +       depends on !BR2_STATIC_LIBS
> +       help
> +         query the total free and used physical memory
> +
> +         https://metacpan.org/release/Sys-MemInfo
> +
> +comment "perl-sys-meminfo needs a toolchain w/ dynamic library"
> +       depends on BR2_STATIC_LIBS
> diff --git a/package/perl-sys-meminfo/perl-sys-meminfo.hash
> b/package/perl-sys-meminfo/perl-sys-meminfo.hash
> new file mode 100644
> index 0000000000..207cfad2bf
> --- /dev/null
> +++ b/package/perl-sys-meminfo/perl-sys-meminfo.hash
> @@ -0,0 +1,6 @@
> +# retrieved by scancpan from http://cpan.metacpan.org/
> +md5    88f0632691d7de91cbed95ba1ff29025 Sys-MemInfo-0.99.tar.gz
> +sha256 0786319d3a3a8bae5d727939244bf17e140b714f52734d5e9f627203e4cf3e3b
> Sys-MemInfo-0.99.tar.gz
> +
> +# computed by scancpan
> +sha256 62854ade112a6782f476bdc7dc9603776c4e064782623d999f966dba131a15de
> LICENSE
> diff --git a/package/perl-sys-meminfo/perl-sys-meminfo.mk
> b/package/perl-sys-meminfo/perl-sys-meminfo.mk
> new file mode 100644
> index 0000000000..ed35f411be
> --- /dev/null
> +++ b/package/perl-sys-meminfo/perl-sys-meminfo.mk
> @@ -0,0 +1,12 @@
> +###########################################################
> #####################
> +#
> +# perl-sys-meminfo
> +#
> +###########################################################
> #####################
> +
> +PERL_SYS_MEMINFO_VERSION = 0.99
> +PERL_SYS_MEMINFO_SOURCE = Sys-MemInfo-$(PERL_SYS_MEMINFO_VERSION).tar.gz
> +PERL_SYS_MEMINFO_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SC/SCRESTO
> +PERL_SYS_MEMINFO_LICENSE_FILES = LICENSE
> +
> +$(eval $(perl-package))
> --
> 2.14.4
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-08-10 18:15 GMT+02:00 Christopher McCrory <span dir="ltr">&lt;<a href="mailto:chrismcc@gmail.com" target="_blank">chrismcc@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Signed-off-by: Christopher McCrory &lt;<a href="mailto:chrismcc@gmail.com">chrismcc@gmail.com</a>&gt;<br></blockquote><div><br></div><div>Acked-by: Francois Perrad &lt;<a href="mailto:francois.perrad@gadz.org">francois.perrad@gadz.org</a>&gt;<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
 package/Config.in                              |  1 +<br>
 package/perl-sys-meminfo/<wbr>Config.in             | 10 ++++++++++<br>
 package/perl-sys-meminfo/perl-<wbr>sys-meminfo.hash |  6 ++++++<br>
 package/perl-sys-meminfo/<a href="http://perl-sys-meminfo.mk" rel="noreferrer" target="_blank">perl-<wbr>sys-meminfo.mk</a>   | 12 ++++++++++++<br>
 4 files changed, 29 insertions(+)<br>
 create mode 100644 package/perl-sys-meminfo/<wbr>Config.in<br>
 create mode 100644 package/perl-sys-meminfo/perl-<wbr>sys-meminfo.hash<br>
 create mode 100644 package/perl-sys-meminfo/<a href="http://perl-sys-meminfo.mk" rel="noreferrer" target="_blank">perl-<wbr>sys-meminfo.mk</a><br>
<br>
diff --git a/package/Config.in b/package/Config.in<br>
index 4f6d6dede6..dd3da6ebe6 100644<br>
--- a/package/Config.in<br>
+++ b/package/Config.in<br>
@@ -723,6 +723,7 @@ menu &quot;Perl libraries/modules&quot;<br>
        source &quot;package/perl-params-util/<wbr>Config.in&quot;<br>
        source &quot;package/perl-path-tiny/<wbr>Config.in&quot;<br>
        source &quot;package/perl-sub-install/<wbr>Config.in&quot;<br>
+       source &quot;package/perl-sys-meminfo/<wbr>Config.in&quot;<br>
        source &quot;package/perl-time-hires/<wbr>Config.in&quot;<br>
        source &quot;package/perl-timedate/Config.<wbr>in&quot;<br>
        source &quot;package/perl-try-tiny/Config.<wbr>in&quot;<br>
diff --git a/package/perl-sys-meminfo/<wbr>Config.in b/package/perl-sys-meminfo/<wbr>Config.in<br>
new file mode 100644<br>
index 0000000000..3e3155d6cb<br>
--- /dev/null<br>
+++ b/package/perl-sys-meminfo/<wbr>Config.in<br>
@@ -0,0 +1,10 @@<br>
+config BR2_PACKAGE_PERL_SYS_MEMINFO<br>
+       bool &quot;perl-sys-meminfo&quot;<br>
+       depends on !BR2_STATIC_LIBS<br>
+       help<br>
+         query the total free and used physical memory<br>
+<br>
+         <a href="https://metacpan.org/release/Sys-MemInfo" rel="noreferrer" target="_blank">https://metacpan.org/release/<wbr>Sys-MemInfo</a><br>
+<br>
+comment &quot;perl-sys-meminfo needs a toolchain w/ dynamic library&quot;<br>
+       depends on BR2_STATIC_LIBS<br>
diff --git a/package/perl-sys-meminfo/<wbr>perl-sys-meminfo.hash b/package/perl-sys-meminfo/<wbr>perl-sys-meminfo.hash<br>
new file mode 100644<br>
index 0000000000..207cfad2bf<br>
--- /dev/null<br>
+++ b/package/perl-sys-meminfo/<wbr>perl-sys-meminfo.hash<br>
@@ -0,0 +1,6 @@<br>
+# retrieved by scancpan from <a href="http://cpan.metacpan.org/" rel="noreferrer" target="_blank">http://cpan.metacpan.org/</a><br>
+md5    88f0632691d7de91cbed95ba1ff290<wbr>25 Sys-MemInfo-0.99.tar.gz<br>
+sha256 0786319d3a3a8bae5d727939244bf1<wbr>7e140b714f52734d5e9f627203e4cf<wbr>3e3b Sys-MemInfo-0.99.tar.gz<br>
+<br>
+# computed by scancpan<br>
+sha256 62854ade112a6782f476bdc7dc9603<wbr>776c4e064782623d999f966dba131a<wbr>15de LICENSE<br>
diff --git a/package/perl-sys-meminfo/<a href="http://perl-sys-meminfo.mk" rel="noreferrer" target="_blank">per<wbr>l-sys-meminfo.mk</a> b/package/perl-sys-meminfo/<a href="http://perl-sys-meminfo.mk" rel="noreferrer" target="_blank">per<wbr>l-sys-meminfo.mk</a><br>
new file mode 100644<br>
index 0000000000..ed35f411be<br>
--- /dev/null<br>
+++ b/package/perl-sys-meminfo/<a href="http://perl-sys-meminfo.mk" rel="noreferrer" target="_blank">per<wbr>l-sys-meminfo.mk</a><br>
@@ -0,0 +1,12 @@<br>
+#############################<wbr>##############################<wbr>#####################<br>
+#<br>
+# perl-sys-meminfo<br>
+#<br>
+#############################<wbr>##############################<wbr>#####################<br>
+<br>
+PERL_SYS_MEMINFO_VERSION = 0.99<br>
+PERL_SYS_MEMINFO_SOURCE = Sys-MemInfo-$(PERL_SYS_<wbr>MEMINFO_VERSION).tar.gz<br>
+PERL_SYS_MEMINFO_SITE = $(BR2_CPAN_MIRROR)/authors/id/<wbr>S/SC/SCRESTO<br>
+PERL_SYS_MEMINFO_LICENSE_<wbr>FILES = LICENSE<br>
+<br>
+$(eval $(perl-package))<br>
<span class="gmail-HOEnZb"><font color="#888888">-- <br>
2.14.4<br>
<br>
______________________________<wbr>_________________<br>
buildroot mailing list<br>
<a href="mailto:buildroot@busybox.net">buildroot@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/buildroot" rel="noreferrer" target="_blank">http://lists.busybox.net/<wbr>mailman/listinfo/buildroot</a><br>
</font></span></blockquote></div><br></div></div>
Thomas Petazzoni Aug. 13, 2018, 10:01 a.m. | #2
Hello,

On Fri, 10 Aug 2018 09:15:00 -0700, Christopher McCrory wrote:
> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
> ---
>  package/Config.in                              |  1 +
>  package/perl-sys-meminfo/Config.in             | 10 ++++++++++
>  package/perl-sys-meminfo/perl-sys-meminfo.hash |  6 ++++++
>  package/perl-sys-meminfo/perl-sys-meminfo.mk   | 12 ++++++++++++
>  4 files changed, 29 insertions(+)
>  create mode 100644 package/perl-sys-meminfo/Config.in
>  create mode 100644 package/perl-sys-meminfo/perl-sys-meminfo.hash
>  create mode 100644 package/perl-sys-meminfo/perl-sys-meminfo.mk

You had a license file, but the LICENSE variable was empty, which was
not good. I added a value for the LICENSE variable, and applied to
next. Thanks!

Best regards,

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index 4f6d6dede6..dd3da6ebe6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -723,6 +723,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-meminfo/Config.in"
 	source "package/perl-time-hires/Config.in"
 	source "package/perl-timedate/Config.in"
 	source "package/perl-try-tiny/Config.in"
diff --git a/package/perl-sys-meminfo/Config.in b/package/perl-sys-meminfo/Config.in
new file mode 100644
index 0000000000..3e3155d6cb
--- /dev/null
+++ b/package/perl-sys-meminfo/Config.in
@@ -0,0 +1,10 @@ 
+config BR2_PACKAGE_PERL_SYS_MEMINFO
+	bool "perl-sys-meminfo"
+	depends on !BR2_STATIC_LIBS
+	help
+	  query the total free and used physical memory
+
+	  https://metacpan.org/release/Sys-MemInfo
+
+comment "perl-sys-meminfo needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
diff --git a/package/perl-sys-meminfo/perl-sys-meminfo.hash b/package/perl-sys-meminfo/perl-sys-meminfo.hash
new file mode 100644
index 0000000000..207cfad2bf
--- /dev/null
+++ b/package/perl-sys-meminfo/perl-sys-meminfo.hash
@@ -0,0 +1,6 @@ 
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    88f0632691d7de91cbed95ba1ff29025 Sys-MemInfo-0.99.tar.gz
+sha256 0786319d3a3a8bae5d727939244bf17e140b714f52734d5e9f627203e4cf3e3b Sys-MemInfo-0.99.tar.gz
+
+# computed by scancpan
+sha256 62854ade112a6782f476bdc7dc9603776c4e064782623d999f966dba131a15de LICENSE
diff --git a/package/perl-sys-meminfo/perl-sys-meminfo.mk b/package/perl-sys-meminfo/perl-sys-meminfo.mk
new file mode 100644
index 0000000000..ed35f411be
--- /dev/null
+++ b/package/perl-sys-meminfo/perl-sys-meminfo.mk
@@ -0,0 +1,12 @@ 
+################################################################################
+#
+# perl-sys-meminfo
+#
+################################################################################
+
+PERL_SYS_MEMINFO_VERSION = 0.99
+PERL_SYS_MEMINFO_SOURCE = Sys-MemInfo-$(PERL_SYS_MEMINFO_VERSION).tar.gz
+PERL_SYS_MEMINFO_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SC/SCRESTO
+PERL_SYS_MEMINFO_LICENSE_FILES = LICENSE
+
+$(eval $(perl-package))