Files
haikuports/dev-perl/module_scandeps/module_scandeps-1.33.recipe
2023-09-09 08:46:32 +00:00

58 lines
1.7 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-2009 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"
SOURCE_DIR="Module-ScanDeps-$portVersion"
ARCHITECTURES="any"
PROVIDES="
module_scandeps = $portVersion
cmd:scandeps.pl
"
REQUIRES="
haiku
pathtools
vendor_perl
"
BUILD_REQUIRES="
haiku_devel
test_requires
"
BUILD_PREREQUIRES="
cmd:make
cmd:perl
"
BUILD()
{
perl Makefile.PL PREFIX=$prefix
make
}
INSTALL()
{
make install DESTDIR="${DESTDIR}"
}