mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-11 22:30:08 +02:00
43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
SUMMARY="Capture STDOUT and STDERR from Perl, XS or external programs"
|
|
DESCRIPTION="Capture::Tiny provides 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."
|
|
HOMEPAGE="https://metacpan.org/pod/Capture::Tiny"
|
|
COPYRIGHT="2009 by David Golden"
|
|
LICENSE="Apache v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="6c23113e87bad393308c90a207013e505f659274736638d8c79bac9c67cc3e19"
|
|
SOURCE_DIR="Capture-Tiny-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
capture_tiny = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
vendor_perl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
perl Makefile.PL PREFIX=$prefix
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install DESTDIR="${DESTDIR}"
|
|
}
|