[17/18] perl-sys-mmap: new package

Message ID 20180810161502.21598-18-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-mmap/Config.in          | 10 ++++++++++
 package/perl-sys-mmap/perl-sys-mmap.hash |  7 +++++++
 package/perl-sys-mmap/perl-sys-mmap.mk   | 13 +++++++++++++
 4 files changed, 31 insertions(+)
 create mode 100644 package/perl-sys-mmap/Config.in
 create mode 100644 package/perl-sys-mmap/perl-sys-mmap.hash
 create mode 100644 package/perl-sys-mmap/perl-sys-mmap.mk

Comments

François Perrad Aug. 12, 2018, 4:39 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-mmap/Config.in          | 10 ++++++++++
>  package/perl-sys-mmap/perl-sys-mmap.hash |  7 +++++++
>  package/perl-sys-mmap/perl-sys-mmap.mk   | 13 +++++++++++++
>  4 files changed, 31 insertions(+)
>  create mode 100644 package/perl-sys-mmap/Config.in
>  create mode 100644 package/perl-sys-mmap/perl-sys-mmap.hash
>  create mode 100644 package/perl-sys-mmap/perl-sys-mmap.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index dd3da6ebe6..5b9c47aa79 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -724,6 +724,7 @@ menu "Perl libraries/modules"
>         source "package/perl-path-tiny/Config.in"
>         source "package/perl-sub-install/Config.in"
>         source "package/perl-sys-meminfo/Config.in"
> +       source "package/perl-sys-mmap/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-mmap/Config.in b/package/perl-sys-mmap/
> Config.in
> new file mode 100644
> index 0000000000..56725f2faa
> --- /dev/null
> +++ b/package/perl-sys-mmap/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_PERL_SYS_MMAP
> +       bool "perl-sys-mmap"
> +       depends on !BR2_STATIC_LIBS
> +       help
> +         uses mmap to map in a file as a Perl variable
> +
> +         https://metacpan.org/release/Sys-Mmap
> +
> +comment "perl-sys-mmap needs a toolchain w/ dynamic library"
> +       depends on BR2_STATIC_LIBS
> diff --git a/package/perl-sys-mmap/perl-sys-mmap.hash
> b/package/perl-sys-mmap/perl-sys-mmap.hash
> new file mode 100644
> index 0000000000..caeea3d965
> --- /dev/null
> +++ b/package/perl-sys-mmap/perl-sys-mmap.hash
> @@ -0,0 +1,7 @@
> +# retrieved by scancpan from http://cpan.metacpan.org/
> +md5    990c9106a88dc843035f7bcb109e6c0e Sys-Mmap-0.19.tar.gz
> +sha256 09295e25cc9b0599d9009d19b2be89fcecaecc62ce594f873d7f70d7c10900fa
> Sys-Mmap-0.19.tar.gz
> +
> +# computed by scancpan
> +sha256 51c144e9a67644fa8eea0ea63dedb4e837587305b22f073eb5e279e39e7325a8
> Copying
> +sha256 4ac2afe465736476a06e52edcc78c72cfa0fa4d625916e58ab4f2af6c598709c
> Artistic
> diff --git a/package/perl-sys-mmap/perl-sys-mmap.mk
> b/package/perl-sys-mmap/perl-sys-mmap.mk
> new file mode 100644
> index 0000000000..ed2ca79b02
> --- /dev/null
> +++ b/package/perl-sys-mmap/perl-sys-mmap.mk
> @@ -0,0 +1,13 @@
> +###########################################################
> #####################
> +#
> +# perl-sys-mmap
> +#
> +###########################################################
> #####################
> +
> +PERL_SYS_MMAP_VERSION = 0.19
> +PERL_SYS_MMAP_SOURCE = Sys-Mmap-$(PERL_SYS_MMAP_VERSION).tar.gz
> +PERL_SYS_MMAP_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SW/SWALTERS
> +PERL_SYS_MMAP_LICENSE = Artistic or GPL-1.0+
> +PERL_SYS_MMAP_LICENSE_FILES = Copying Artistic
> +
> +$(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-mmap/Config.<wbr>in          | 10 ++++++++++<br>
 package/perl-sys-mmap/perl-<wbr>sys-mmap.hash |  7 +++++++<br>
 package/perl-sys-mmap/<a href="http://perl-sys-mmap.mk" rel="noreferrer" target="_blank">perl-<wbr>sys-mmap.mk</a>   | 13 +++++++++++++<br>
 4 files changed, 31 insertions(+)<br>
 create mode 100644 package/perl-sys-mmap/Config.<wbr>in<br>
 create mode 100644 package/perl-sys-mmap/perl-<wbr>sys-mmap.hash<br>
 create mode 100644 package/perl-sys-mmap/<a href="http://perl-sys-mmap.mk" rel="noreferrer" target="_blank">perl-<wbr>sys-mmap.mk</a><br>
<br>
diff --git a/package/Config.in b/package/Config.in<br>
index dd3da6ebe6..5b9c47aa79 100644<br>
--- a/package/Config.in<br>
+++ b/package/Config.in<br>
@@ -724,6 +724,7 @@ menu &quot;Perl libraries/modules&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-sys-mmap/Config.<wbr>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-mmap/<wbr>Config.in b/package/perl-sys-mmap/<wbr>Config.in<br>
new file mode 100644<br>
index 0000000000..56725f2faa<br>
--- /dev/null<br>
+++ b/package/perl-sys-mmap/<wbr>Config.in<br>
@@ -0,0 +1,10 @@<br>
+config BR2_PACKAGE_PERL_SYS_MMAP<br>
+       bool &quot;perl-sys-mmap&quot;<br>
+       depends on !BR2_STATIC_LIBS<br>
+       help<br>
+         uses mmap to map in a file as a Perl variable<br>
+<br>
+         <a href="https://metacpan.org/release/Sys-Mmap" rel="noreferrer" target="_blank">https://metacpan.org/release/<wbr>Sys-Mmap</a><br>
+<br>
+comment &quot;perl-sys-mmap needs a toolchain w/ dynamic library&quot;<br>
+       depends on BR2_STATIC_LIBS<br>
diff --git a/package/perl-sys-mmap/perl-<wbr>sys-mmap.hash b/package/perl-sys-mmap/perl-<wbr>sys-mmap.hash<br>
new file mode 100644<br>
index 0000000000..caeea3d965<br>
--- /dev/null<br>
+++ b/package/perl-sys-mmap/perl-<wbr>sys-mmap.hash<br>
@@ -0,0 +1,7 @@<br>
+# retrieved by scancpan from <a href="http://cpan.metacpan.org/" rel="noreferrer" target="_blank">http://cpan.metacpan.org/</a><br>
+md5    990c9106a88dc843035f7bcb109e6c<wbr>0e Sys-Mmap-0.19.tar.gz<br>
+sha256 09295e25cc9b0599d9009d19b2be89<wbr>fcecaecc62ce594f873d7f70d7c109<wbr>00fa Sys-Mmap-0.19.tar.gz<br>
+<br>
+# computed by scancpan<br>
+sha256 51c144e9a67644fa8eea0ea63dedb4<wbr>e837587305b22f073eb5e279e39e73<wbr>25a8 Copying<br>
+sha256 4ac2afe465736476a06e52edcc78c7<wbr>2cfa0fa4d625916e58ab4f2af6c598<wbr>709c Artistic<br>
diff --git a/package/perl-sys-mmap/<a href="http://perl-sys-mmap.mk" rel="noreferrer" target="_blank">perl-<wbr>sys-mmap.mk</a> b/package/perl-sys-mmap/<a href="http://perl-sys-mmap.mk" rel="noreferrer" target="_blank">perl-<wbr>sys-mmap.mk</a><br>
new file mode 100644<br>
index 0000000000..ed2ca79b02<br>
--- /dev/null<br>
+++ b/package/perl-sys-mmap/<a href="http://perl-sys-mmap.mk" rel="noreferrer" target="_blank">perl-<wbr>sys-mmap.mk</a><br>
@@ -0,0 +1,13 @@<br>
+#############################<wbr>##############################<wbr>#####################<br>
+#<br>
+# perl-sys-mmap<br>
+#<br>
+#############################<wbr>##############################<wbr>#####################<br>
+<br>
+PERL_SYS_MMAP_VERSION = 0.19<br>
+PERL_SYS_MMAP_SOURCE = Sys-Mmap-$(PERL_SYS_MMAP_<wbr>VERSION).tar.gz<br>
+PERL_SYS_MMAP_SITE = $(BR2_CPAN_MIRROR)/authors/id/<wbr>S/SW/SWALTERS<br>
+PERL_SYS_MMAP_LICENSE = Artistic or GPL-1.0+<br>
+PERL_SYS_MMAP_LICENSE_FILES = Copying Artistic<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:02 a.m. | #2
Hello,

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

Applied to next, thanks.

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index dd3da6ebe6..5b9c47aa79 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -724,6 +724,7 @@  menu "Perl libraries/modules"
 	source "package/perl-path-tiny/Config.in"
 	source "package/perl-sub-install/Config.in"
 	source "package/perl-sys-meminfo/Config.in"
+	source "package/perl-sys-mmap/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-mmap/Config.in b/package/perl-sys-mmap/Config.in
new file mode 100644
index 0000000000..56725f2faa
--- /dev/null
+++ b/package/perl-sys-mmap/Config.in
@@ -0,0 +1,10 @@ 
+config BR2_PACKAGE_PERL_SYS_MMAP
+	bool "perl-sys-mmap"
+	depends on !BR2_STATIC_LIBS
+	help
+	  uses mmap to map in a file as a Perl variable
+
+	  https://metacpan.org/release/Sys-Mmap
+
+comment "perl-sys-mmap needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
diff --git a/package/perl-sys-mmap/perl-sys-mmap.hash b/package/perl-sys-mmap/perl-sys-mmap.hash
new file mode 100644
index 0000000000..caeea3d965
--- /dev/null
+++ b/package/perl-sys-mmap/perl-sys-mmap.hash
@@ -0,0 +1,7 @@ 
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    990c9106a88dc843035f7bcb109e6c0e Sys-Mmap-0.19.tar.gz
+sha256 09295e25cc9b0599d9009d19b2be89fcecaecc62ce594f873d7f70d7c10900fa Sys-Mmap-0.19.tar.gz
+
+# computed by scancpan
+sha256 51c144e9a67644fa8eea0ea63dedb4e837587305b22f073eb5e279e39e7325a8 Copying
+sha256 4ac2afe465736476a06e52edcc78c72cfa0fa4d625916e58ab4f2af6c598709c Artistic
diff --git a/package/perl-sys-mmap/perl-sys-mmap.mk b/package/perl-sys-mmap/perl-sys-mmap.mk
new file mode 100644
index 0000000000..ed2ca79b02
--- /dev/null
+++ b/package/perl-sys-mmap/perl-sys-mmap.mk
@@ -0,0 +1,13 @@ 
+################################################################################
+#
+# perl-sys-mmap
+#
+################################################################################
+
+PERL_SYS_MMAP_VERSION = 0.19
+PERL_SYS_MMAP_SOURCE = Sys-Mmap-$(PERL_SYS_MMAP_VERSION).tar.gz
+PERL_SYS_MMAP_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SW/SWALTERS
+PERL_SYS_MMAP_LICENSE = Artistic or GPL-1.0+
+PERL_SYS_MMAP_LICENSE_FILES = Copying Artistic
+
+$(eval $(perl-package))