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>
This commit is contained in:
Christopher McCrory 2018-08-10 09:14:52 -07:00 committed by Thomas Petazzoni
parent 741bae2fe5
commit cd1788f676
5 changed files with 31 additions and 0 deletions

View file

@ -487,6 +487,7 @@ F: package/perl-class-std/
F: package/perl-data-uuid/
F: package/perl-date-manip/
F: package/perl-dbi/
F: package/perl-device-serialport/
N: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
F: package/audit/

View file

@ -677,6 +677,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"

View file

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

View file

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

View file

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