mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
class_inspector: add tests, cleanup
This commit is contained in:
@@ -6,7 +6,7 @@ Class::Inspector attempts to provide an easier, more friendly interface to this
|
||||
HOMEPAGE="https://metacpan.org/pod/Class::Inspector"
|
||||
COPYRIGHT="2002-2019 by Adam Kennedy"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Class-Inspector-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="cc295d23a472687c24489d58226ead23b9fdc2588e522f0b5f0747741700694e"
|
||||
SOURCE_DIR="Class-Inspector-$portVersion"
|
||||
@@ -37,5 +37,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