mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
capture_tiny: add tests, cleanup
This commit is contained in:
@@ -7,7 +7,7 @@ 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"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6c23113e87bad393308c90a207013e505f659274736638d8c79bac9c67cc3e19"
|
||||
SOURCE_DIR="Capture-Tiny-$portVersion"
|
||||
@@ -38,5 +38,15 @@ BUILD()
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install DESTDIR="${DESTDIR}"
|
||||
make pure_install
|
||||
|
||||
# remove architecture-specific files
|
||||
cd $prefix
|
||||
rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-)
|
||||
# cut extracts the quoted string and strips the prefix (which is perl's and not ours)
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user