Files
haikuports/dev-perl/module_build/module_build-0.4224.recipe
2018-08-03 08:44:17 +02:00

45 lines
1.2 KiB
Bash

SUMMARY="Build and install Perl modules"
DESCRIPTION="Module::Build is a system for building, testing, and installing \
Perl modules. It is meant to be an alternative to ExtUtils::MakeMaker. \
Developers may alter the behavior of the module through subclassing in a much \
more straightforward way than with MakeMaker. It also does not require a make \
on your system - most of the Module::Build code is pure-perl and written in a \
very cross-platform way."
HOMEPAGE="http://search.cpan.org/~leont/Module-Build/lib/Module/Build.pm"
COPYRIGHT="2001-2006 Ken Williams"
LICENSE="Artistic"
REVISION="1"
SOURCE_URI="http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-$portVersion.tar.gz"
CHECKSUM_SHA256="a6ca15d78244a7b50fdbf27f85c85f4035aa799ce7dd018a0d98b358ef7bc782"
SOURCE_DIR="Module-Build-$portVersion"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
module_build = $portVersion
cmd:config_data
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:perl >= 5.26
"
BUILD()
{
export PERL_MM_USE_DEFAULT=1 # Don't ask questions and use the default values
perl Build.PL --installdirs vendor --prefix $prefix
./Build
}
INSTALL()
{
./Build install --installdirs vendor
}
TEST()
{
./Build test
}