Patchwork [meta-perl,v2,03/10] libcapture-tiny-perl: add 0.23

login
register
mail settings
Submitter Tim Orling
Date Feb. 3, 2014, 6:51 a.m.
Message ID <1391410275-31251-4-git-send-email-ticotimo@gmail.com>
Download mbox | patch
Permalink /patch/66237/
State Superseded, archived
Headers show

Comments

Tim Orling - Feb. 3, 2014, 6:51 a.m.
[Description from CPAN]
Capture::Tiny provies a simple, portable way to capture
almost anything sent to STDOUT or STDERR, regardless of whether it comes
from Perl, from XS code or from an external program. Optionally, output can
be teed so that it is captured while being passed through to the original
filehandles. Yes, it even works on Windows (usually). Stop guessing which of
a dozen capturing modules to use in any particular situation and just use
this one.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libcapture/libcapture-tiny-perl_0.23.bb        |   36 ++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.23.bb

Patch

diff --git a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.23.bb b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.23.bb
new file mode 100644
index 0000000..b2f1ff9
--- /dev/null
+++ b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.23.bb
@@ -0,0 +1,36 @@ 
+SUMMARY = "Capture::Tiny - Capture STDOUT and STDERR from Perl, XS or external programs."
+DESCRIPTION = "Capture::Tiny provies a simple, portable way to capture \
+almost anything sent to STDOUT or STDERR, regardless of whether it comes \
+from Perl, from XS code or from an external program. Optionally, output can \
+be teed so that it is captured while being passed through to the original \
+filehandles. Yes, it even works on Windows (usually). Stop guessing which of \
+a dozen capturing modules to use in any particular situation and just use \
+this one."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~dagolden/Capture-Tiny/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Capture-Tiny-${PV}.tar.gz"
+SRC_URI[md5sum] = "7c6f63671802d004c0df5dbcba93e5b4"
+SRC_URI[sha256sum] = "427814015824014b41f666c16afadab0ea551db946e494fdfbc59c44c9569bdf"
+
+S = "${WORKDIR}/Capture-Tiny-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-scalar-util \
+                   perl-module-io-file \
+                   perl-module-extutils-makemaker \
+                   perl-module-file-spec \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-test-more \
+                   perl-module-file-temp \
+                   perl-module-lib \
+                   perl-module-build \
+"
+
+BBCLASSEXTEND = "native"