[08/18] perl-device-serialport: new package

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

Commit Message

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

Comments

François Perrad Aug. 12, 2018, 4:31 p.m. | #1
2018-08-10 18:14 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-device-serialport/Config.in                   | 10
> ++++++++++
>  package/perl-device-serialport/perl-device-serialport.hash |  6 ++++++
>  package/perl-device-serialport/perl-device-serialport.mk   | 12
> ++++++++++++
>  4 files changed, 29 insertions(+)
>  create mode 100644 package/perl-device-serialport/Config.in
>  create mode 100644 package/perl-device-serialport/perl-device-
> serialport.hash
>  create mode 100644 package/perl-device-serialport/perl-device-
> serialport.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 73adb62e0b..cd01657802 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -678,6 +678,7 @@ menu "Perl libraries/modules"
>         source "package/perl-date-manip/Config.in"
>         source "package/perl-datetime-tiny/Config.in"
>         source "package/perl-dbi/Config.in"
> +       source "package/perl-device-serialport/Config.in"
>         source "package/perl-digest-hmac/Config.in"
>         source "package/perl-digest-md5/Config.in"
>         source "package/perl-digest-sha1/Config.in"
> diff --git a/package/perl-device-serialport/Config.in
> b/package/perl-device-serialport/Config.in
> new file mode 100644
> index 0000000000..f14e9794d0
> --- /dev/null
> +++ b/package/perl-device-serialport/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_PERL_DEVICE_SERIALPORT
> +       bool "perl-device-serialport"
> +       depends on !BR2_STATIC_LIBS
> +       help
> +         Linux/POSIX emulation of Win32::SerialPort functions.
> +
> +         https://metacpan.org/release/Device-SerialPort
> +
> +comment "perl-device-serialport needs a toolchain w/ dynamic library"
> +       depends on BR2_STATIC_LIBS
> diff --git a/package/perl-device-serialport/perl-device-serialport.hash
> b/package/perl-device-serialport/perl-device-serialport.hash
> new file mode 100644
> index 0000000000..35ddc13d3f
> --- /dev/null
> +++ b/package/perl-device-serialport/perl-device-serialport.hash
> @@ -0,0 +1,6 @@
> +# retrieved by scancpan from http://cpan.metacpan.org/
> +md5    82c698151f934eb28c65d1838cee7d9e Device-SerialPort-1.04.tar.gz
> +sha256 d392567cb39b4ea606c0e0acafd8ed72320311b995336ece5fcefcf9b150e9d7
> Device-SerialPort-1.04.tar.gz
> +
> +# computed by scancpan
> +sha256 59432e84eca65c10c4b627f8af0b00833685856b68242b816aea2a38283a124c
> README
> diff --git a/package/perl-device-serialport/perl-device-serialport.mk
> b/package/perl-device-serialport/perl-device-serialport.mk
> new file mode 100644
> index 0000000000..635179f80a
> --- /dev/null
> +++ b/package/perl-device-serialport/perl-device-serialport.mk
> @@ -0,0 +1,12 @@
> +###########################################################
> #####################
> +#
> +# perl-device-serialport
> +#
> +###########################################################
> #####################
> +
> +PERL_DEVICE_SERIALPORT_VERSION = 1.04
> +PERL_DEVICE_SERIALPORT_SOURCE = Device-SerialPort-$(PERL_
> DEVICE_SERIALPORT_VERSION).tar.gz
> +PERL_DEVICE_SERIALPORT_SITE = $(BR2_CPAN_MIRROR)/authors/id/C/CO/COOK
> +PERL_DEVICE_SERIALPORT_LICENSE_FILES = README
> +
> +$(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:14 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-device-<wbr>serialport/Config.in                   | 10 ++++++++++<br>
 package/perl-device-<wbr>serialport/perl-device-<wbr>serialport.hash |  6 ++++++<br>
 package/perl-device-<wbr>serialport/<a href="http://perl-device-serialport.mk" rel="noreferrer" target="_blank">perl-device-<wbr>serialport.mk</a>   | 12 ++++++++++++<br>
 4 files changed, 29 insertions(+)<br>
 create mode 100644 package/perl-device-<wbr>serialport/Config.in<br>
 create mode 100644 package/perl-device-<wbr>serialport/perl-device-<wbr>serialport.hash<br>
 create mode 100644 package/perl-device-<wbr>serialport/<a href="http://perl-device-serialport.mk" rel="noreferrer" target="_blank">perl-device-<wbr>serialport.mk</a><br>
<br>
diff --git a/package/Config.in b/package/Config.in<br>
index 73adb62e0b..cd01657802 100644<br>
--- a/package/Config.in<br>
+++ b/package/Config.in<br>
@@ -678,6 +678,7 @@ menu &quot;Perl libraries/modules&quot;<br>
        source &quot;package/perl-date-manip/<wbr>Config.in&quot;<br>
        source &quot;package/perl-datetime-tiny/<wbr>Config.in&quot;<br>
        source &quot;package/perl-dbi/Config.in&quot;<br>
+       source &quot;package/perl-device-<wbr>serialport/Config.in&quot;<br>
        source &quot;package/perl-digest-hmac/<wbr>Config.in&quot;<br>
        source &quot;package/perl-digest-md5/<wbr>Config.in&quot;<br>
        source &quot;package/perl-digest-sha1/<wbr>Config.in&quot;<br>
diff --git a/package/perl-device-<wbr>serialport/Config.in b/package/perl-device-<wbr>serialport/Config.in<br>
new file mode 100644<br>
index 0000000000..f14e9794d0<br>
--- /dev/null<br>
+++ b/package/perl-device-<wbr>serialport/Config.in<br>
@@ -0,0 +1,10 @@<br>
+config BR2_PACKAGE_PERL_DEVICE_<wbr>SERIALPORT<br>
+       bool &quot;perl-device-serialport&quot;<br>
+       depends on !BR2_STATIC_LIBS<br>
+       help<br>
+         Linux/POSIX emulation of Win32::SerialPort functions.<br>
+<br>
+         <a href="https://metacpan.org/release/Device-SerialPort" rel="noreferrer" target="_blank">https://metacpan.org/release/<wbr>Device-SerialPort</a><br>
+<br>
+comment &quot;perl-device-serialport needs a toolchain w/ dynamic library&quot;<br>
+       depends on BR2_STATIC_LIBS<br>
diff --git a/package/perl-device-<wbr>serialport/perl-device-<wbr>serialport.hash b/package/perl-device-<wbr>serialport/perl-device-<wbr>serialport.hash<br>
new file mode 100644<br>
index 0000000000..35ddc13d3f<br>
--- /dev/null<br>
+++ b/package/perl-device-<wbr>serialport/perl-device-<wbr>serialport.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    82c698151f934eb28c65d1838cee7d<wbr>9e Device-SerialPort-1.04.tar.gz<br>
+sha256 d392567cb39b4ea606c0e0acafd8ed<wbr>72320311b995336ece5fcefcf9b150<wbr>e9d7 Device-SerialPort-1.04.tar.gz<br>
+<br>
+# computed by scancpan<br>
+sha256 59432e84eca65c10c4b627f8af0b00<wbr>833685856b68242b816aea2a38283a<wbr>124c README<br>
diff --git a/package/perl-device-<wbr>serialport/<a href="http://perl-device-serialport.mk" rel="noreferrer" target="_blank">perl-device-<wbr>serialport.mk</a> b/package/perl-device-<wbr>serialport/<a href="http://perl-device-serialport.mk" rel="noreferrer" target="_blank">perl-device-<wbr>serialport.mk</a><br>
new file mode 100644<br>
index 0000000000..635179f80a<br>
--- /dev/null<br>
+++ b/package/perl-device-<wbr>serialport/<a href="http://perl-device-serialport.mk" rel="noreferrer" target="_blank">perl-device-<wbr>serialport.mk</a><br>
@@ -0,0 +1,12 @@<br>
+#############################<wbr>##############################<wbr>#####################<br>
+#<br>
+# perl-device-serialport<br>
+#<br>
+#############################<wbr>##############################<wbr>#####################<br>
+<br>
+PERL_DEVICE_SERIALPORT_<wbr>VERSION = 1.04<br>
+PERL_DEVICE_SERIALPORT_SOURCE = Device-SerialPort-$(PERL_<wbr>DEVICE_SERIALPORT_VERSION).<wbr>tar.gz<br>
+PERL_DEVICE_SERIALPORT_SITE = $(BR2_CPAN_MIRROR)/authors/id/<wbr>C/CO/COOK<br>
+PERL_DEVICE_SERIALPORT_<wbr>LICENSE_FILES = README<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. 12, 2018, 9:38 p.m. | #2
Hello,

On Fri, 10 Aug 2018 09:14:52 -0700, Christopher McCrory wrote:
> Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
> ---
>  package/Config.in                                          |  1 +
>  package/perl-device-serialport/Config.in                   | 10 ++++++++++
>  package/perl-device-serialport/perl-device-serialport.hash |  6 ++++++
>  package/perl-device-serialport/perl-device-serialport.mk   | 12 ++++++++++++
>  4 files changed, 29 insertions(+)

I've applied to next, but ...

> +PERL_DEVICE_SERIALPORT_VERSION = 1.04
> +PERL_DEVICE_SERIALPORT_SOURCE = Device-SerialPort-$(PERL_DEVICE_SERIALPORT_VERSION).tar.gz
> +PERL_DEVICE_SERIALPORT_SITE = $(BR2_CPAN_MIRROR)/authors/id/C/CO/COOK
> +PERL_DEVICE_SERIALPORT_LICENSE_FILES = README

The _LICENSE variable was missing, even though the licensing terms were
clearly specified in the README file. Once again, please double check
the output of scancpan, which may not be complete.

Best regards,

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index 73adb62e0b..cd01657802 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -678,6 +678,7 @@  menu "Perl libraries/modules"
 	source "package/perl-date-manip/Config.in"
 	source "package/perl-datetime-tiny/Config.in"
 	source "package/perl-dbi/Config.in"
+	source "package/perl-device-serialport/Config.in"
 	source "package/perl-digest-hmac/Config.in"
 	source "package/perl-digest-md5/Config.in"
 	source "package/perl-digest-sha1/Config.in"
diff --git a/package/perl-device-serialport/Config.in b/package/perl-device-serialport/Config.in
new file mode 100644
index 0000000000..f14e9794d0
--- /dev/null
+++ b/package/perl-device-serialport/Config.in
@@ -0,0 +1,10 @@ 
+config BR2_PACKAGE_PERL_DEVICE_SERIALPORT
+	bool "perl-device-serialport"
+	depends on !BR2_STATIC_LIBS
+	help
+	  Linux/POSIX emulation of Win32::SerialPort functions.
+
+	  https://metacpan.org/release/Device-SerialPort
+
+comment "perl-device-serialport needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
diff --git a/package/perl-device-serialport/perl-device-serialport.hash b/package/perl-device-serialport/perl-device-serialport.hash
new file mode 100644
index 0000000000..35ddc13d3f
--- /dev/null
+++ b/package/perl-device-serialport/perl-device-serialport.hash
@@ -0,0 +1,6 @@ 
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    82c698151f934eb28c65d1838cee7d9e Device-SerialPort-1.04.tar.gz
+sha256 d392567cb39b4ea606c0e0acafd8ed72320311b995336ece5fcefcf9b150e9d7 Device-SerialPort-1.04.tar.gz
+
+# computed by scancpan
+sha256 59432e84eca65c10c4b627f8af0b00833685856b68242b816aea2a38283a124c README
diff --git a/package/perl-device-serialport/perl-device-serialport.mk b/package/perl-device-serialport/perl-device-serialport.mk
new file mode 100644
index 0000000000..635179f80a
--- /dev/null
+++ b/package/perl-device-serialport/perl-device-serialport.mk
@@ -0,0 +1,12 @@ 
+################################################################################
+#
+# perl-device-serialport
+#
+################################################################################
+
+PERL_DEVICE_SERIALPORT_VERSION = 1.04
+PERL_DEVICE_SERIALPORT_SOURCE = Device-SerialPort-$(PERL_DEVICE_SERIALPORT_VERSION).tar.gz
+PERL_DEVICE_SERIALPORT_SITE = $(BR2_CPAN_MIRROR)/authors/id/C/CO/COOK
+PERL_DEVICE_SERIALPORT_LICENSE_FILES = README
+
+$(eval $(perl-package))