2 # Copyright (C) 2014, 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=perl-device-serialport
14 PKG_SOURCE_URL
:=http
://www.cpan.org
/authors
/id
/C
/CO
/COOK
/
15 PKG_SOURCE
:=Device-SerialPort-
$(PKG_VERSION
).
tar.gz
16 PKG_MD5SUM
:=82c698151f934eb28c65d1838cee7d9e
18 PKG_LICENSE
:=GPL-1.0
+ Artistic-1.0
-Perl
19 PKG_MAINTAINER
:=Paul Oranje
<por@xs4all.nl
>
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/perl
/Device-SerialPort-
$(PKG_VERSION
)
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/perl
/perlmod.mk
26 define Package
/perl-device-serialport
30 TITLE
:=A POSIX-based version of the Win32
::SerialPort module
31 URL
:=http
://search.cpan.org
/dist/Device-SerialPort
/
32 DEPENDS
:=perl
+perlbase-essential
+perlbase-io
+perlbase-posix
+perlbase-test
+perlbase-xsloader
35 define Package
/perl-device-serialport
/description
36 A POSIX-based version of the Win32
::SerialPort module
37 that provides modem support to Perl applications
40 define Build
/Configure
41 $(call perlmod
/Configure
,,)
45 $(call perlmod
/Compile
,,)
48 define Package
/perl-device-serialport
/install
49 $(call perlmod
/Install
,$(1),Device auto
/Device
)
53 $(eval
$(call BuildPackage
,perl-device-serialport
))