SUMMARY="A tiny replacement for Module::Build" DESCRIPTION="Many Perl distributions use a Build.PL file instead of a Makefile.PL file to drive \ distribution configuration, build, test and installation. Traditionally, Build.PL uses \ Module::Build as the underlying build system. This module provides a simple, lightweight, drop-in \ replacement. Whereas Module::Build has over 6,700 lines of code; this module has less than 200, yet supports \ the features needed by most distributions." HOMEPAGE="https://metacpan.org/pod/Module::Build::Tiny" COPYRIGHT="2011 by Leon Timmermans, David Golden" LICENSE="Artistic" REVISION="1" SOURCE_URI="https://cpan.metacpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-$portVersion.tar.gz" CHECKSUM_SHA256="74fdce35e8cd4d787bc2d4fc1d43a291b7bbced4e94dc5fc592bd81ca93a98e9" SOURCE_DIR="Module-Build-Tiny-$portVersion" ARCHITECTURES="any" PROVIDES=" module_build_tiny = $portVersion " REQUIRES=" haiku extutils_config extutils_helpers extutils_installpaths vendor_perl " BUILD_REQUIRES=" haiku_devel extutils_config extutils_helpers extutils_installpaths " BUILD_PREREQUIRES=" cmd:perl " BUILD() { perl Build.PL --prefix $prefix ./Build } INSTALL() { ./Build 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() { ./Build test }