From 088e755493266a10e392e38da731de03595bc73b Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Thu, 1 Jan 2009 13:33:27 +0000 Subject: libdevice-serialport-perl: New perl library. --- conf/checksums.ini | 4 ++++ packages/perl/libdevice-serialport-perl_1.04.bb | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 packages/perl/libdevice-serialport-perl_1.04.bb diff --git a/conf/checksums.ini b/conf/checksums.ini index 079d2f327f..a317093b83 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -142,6 +142,10 @@ sha256=a96fb122261fb5f069341d7e69dcf07a2988da7cfd8df65d50843b8b102fb55c md5=35d85c3f2c91c1de389b13436659551a sha256=fe044ec9817a31f2b76f701b2cfd980809676943a901ba3d49200162807fa1f9 +[http://www.cpan.org/modules/by-module/Device/Device-SerialPort-1.04.tar.gz] +md5=82c698151f934eb28c65d1838cee7d9e +sha256=d392567cb39b4ea606c0e0acafd8ed72320311b995336ece5fcefcf9b150e9d7 + [http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-SHA1-2.11.tar.gz] md5=2449bfe21d6589c96eebf94dae24df6b sha256=3cebe0a6894daee3bfa5d9619fc90e7619cb6a77ac1b04d027341cd6033ae989 diff --git a/packages/perl/libdevice-serialport-perl_1.04.bb b/packages/perl/libdevice-serialport-perl_1.04.bb new file mode 100644 index 0000000000..8f4b0a657f --- /dev/null +++ b/packages/perl/libdevice-serialport-perl_1.04.bb @@ -0,0 +1,19 @@ +SECTION = "libs" +LICENSE = "GPL" +RDEPENDS += "perl-module-carp perl-module-posix perl-module-io-handle \ + perl-module-strict perl-module-warnings perl-module-vars \ + perl-module-xsloader" + +SRC_URI = "http://www.cpan.org/modules/by-module/Device/Device-SerialPort-${PV}.tar.gz" + +S = "${WORKDIR}/Device-SerialPort-${PV}" + +inherit cpan + +# inspired by autotools.bbclass +do_configure_prepend () { + oenote Executing autoreconf --verbose --install --force + 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 +} -- cgit v1.2.3