mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
72 lines
2.0 KiB
Bash
72 lines
2.0 KiB
Bash
SUMMARY="Scan file prerequisites"
|
|
DESCRIPTION="scandeps.pl is a simple-minded utility that prints out the PREREQ_PM section needed \
|
|
by modules.
|
|
|
|
If the option -T is specified and you have CPANPLUS installed, modules that are part of an \
|
|
earlier module's distribution with be denoted with S; modules without a distribution name on CPAN \
|
|
are marked with ?.
|
|
|
|
Also, if the -B option is specified, module belongs to a perl distribution on CPAN (and thus \
|
|
uninstallable by CPAN.pm or CPANPLUS.pm) are marked with C.
|
|
|
|
Finally, modules that has loadable shared object files (usually needing a compiler to install) \
|
|
are marked with X; with the -V flag, those files (and all other files found) will be listed \
|
|
before the main output. Additionally, all module files that the scanned code depends on but were \
|
|
not found (and thus not scanned recursively) are listed. These may include genuinely missing \
|
|
modules or false positives. That means, modules your code does not depend on (on this particular \
|
|
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-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="1f5e119cade1466c39c71e5bc35a8d4f4e672635db03d79a5a0dcf08c4e2b5a3"
|
|
SOURCE_DIR="Module-ScanDeps-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
module_scandeps = $portVersion
|
|
cmd:scandeps.pl
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
pathtools
|
|
vendor_perl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
ipc_run3
|
|
test_requires
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
perl Makefile.PL PREFIX=$prefix
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
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
|
|
}
|