Patchwork [meta-perl] libdevice-serialport-perl_1.04: added

login
register
mail settings
Submitter Emil Petersen
Date Sept. 5, 2013, 9:48 a.m.
Message ID <1378374505-10065-1-git-send-email-erp@movis.dk>
Download mbox | patch
Permalink /patch/57445/
State Rejected, archived
Headers show

Comments

Emil Petersen - Sept. 5, 2013, 9:48 a.m.
Device::Serialport recipe

Signed-off-by: Emil Petersen <erp@movis.dk>
---
 .../libdevice-serialport-perl_1.04.bb              | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libdevice-serialport-perl/libdevice-serialport-perl_1.04.bb

Patch

diff --git a/meta-perl/recipes-perl/libdevice-serialport-perl/libdevice-serialport-perl_1.04.bb b/meta-perl/recipes-perl/libdevice-serialport-perl/libdevice-serialport-perl_1.04.bb
new file mode 100644
index 0000000..0fbb61b
--- /dev/null
+++ b/meta-perl/recipes-perl/libdevice-serialport-perl/libdevice-serialport-perl_1.04.bb
@@ -0,0 +1,22 @@ 
+SUMMARY = "Device::SerialPort - Linux/POSIX emulation of Win32::SerialPort functions."
+AUTHOR = "Kees Cook <pause.cpan1@outflux.net>"
+HOMEPAGE = "https://metacpan.org/release/Device-SerialPort"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;md5=34e53f81e654ff1fb3e5f6c5735bd1f9"
+
+SRC_URI = "http://cpan.metacpan.org/authors/id/C/CO/COOK/Device-SerialPort-${PV}.tar.gz"
+SRC_URI[md5sum] = "82c698151f934eb28c65d1838cee7d9e"
+SRC_URI[sha256sum] = "d392567cb39b4ea606c0e0acafd8ed72320311b995336ece5fcefcf9b150e9d7"
+
+S = "${WORKDIR}/Device-SerialPort-${PV}"
+
+inherit cpan
+
+do_configure_prepend () {
+	mkdir -p m4
+	autoreconf -Wcross --verbose --install --force || oefatal "autoreconf execution failed."
+	sed -i 's:\./configure\(.[^-]\):./configure --build=${BUILD_SYS} --host=${HOST_SYS} --target=${TARGET_SYS} --prefix=${prefix} --exec_prefix=${exec_prefix} --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} --datadir=${datadir} --sysconfdir=${sysconfdir} --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} --libdir=${libdir} --includedir=${includedir} --oldincludedir=${oldincludedir} --infodir=${infodir} --mandir=${mandir}\1:' Makefile.PL
+}
+
+BBCLASSEXTEND="native"