mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
module_scandeps: bump version, cleanup, add tests
This commit is contained in:
@@ -17,11 +17,11 @@ modules or false positives. That means, modules your code does not depend on (on
|
||||
platform) but that were picked up by the heuristic anyway."
|
||||
HOMEPAGE="https://metacpan.org/dist/Module-ScanDeps/view/script/scandeps.pl"
|
||||
COPYRIGHT="2002-2008 by Audrey Tang
|
||||
2005-2009 by Steffen Mueller"
|
||||
2005-2010 by Steffen Mueller"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="55bde24e3b966ebe261e10bdc6720259d331e63a4d2fc086ce551987a5bbbb4c"
|
||||
CHECKSUM_SHA256="e5beb3adf55be3dab71f9a1416d4bad57b14e5e05c96370741b9d8f96a51b612"
|
||||
SOURCE_DIR="Module-ScanDeps-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
@@ -32,12 +32,14 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
# ipc_run3 # missing
|
||||
pathtools
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
# ipc_run3 # missing
|
||||
test_requires
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
@@ -53,5 +55,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