aboutsummaryrefslogtreecommitdiff
path: root/package/perl-device-serialport
diff options
context:
space:
mode:
authorGravatar Christopher McCrory <chrismcc@gmail.com>2018-08-10 09:14:52 -0700
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-12 23:37:23 +0200
commitcd1788f676833da41a315851cdeb9bd55d4c2e10 (patch)
tree8825fe6ead1ff65fe8ca5d6c7f216fda203a8aff /package/perl-device-serialport
parent741bae2fe584820806dd2abf6677f9d8b62068bf (diff)
downloadbuildroot-cd1788f676833da41a315851cdeb9bd55d4c2e10.tar.gz
buildroot-cd1788f676833da41a315851cdeb9bd55d4c2e10.tar.bz2
perl-device-serialport: new package
Signed-off-by: Christopher McCrory <chrismcc@gmail.com> Acked-by: Francois Perrad <francois.perrad@gadz.org> [Thomas: add _LICENSE variable.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/perl-device-serialport')
-rw-r--r--package/perl-device-serialport/Config.in10
-rw-r--r--package/perl-device-serialport/perl-device-serialport.hash6
-rw-r--r--package/perl-device-serialport/perl-device-serialport.mk13
3 files changed, 29 insertions, 0 deletions
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..a87a7447bd
--- /dev/null
+++ b/package/perl-device-serialport/perl-device-serialport.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# 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_DBI_LICENSE = Artistic or GPL-1.0+
+PERL_DEVICE_SERIALPORT_LICENSE_FILES = README
+
+$(eval $(perl-package))