diff --git a/dev-perl/extutils_config/extutils_config-0.010.recipe b/dev-perl/extutils_config/extutils_config-0.010.recipe new file mode 100644 index 000000000..ace8f347c --- /dev/null +++ b/dev-perl/extutils_config/extutils_config-0.010.recipe @@ -0,0 +1,49 @@ +SUMMARY="A wrapper for perl's configuration" +DESCRIPTION="ExtUtils::Config is an abstraction around the %Config hash. By itself it is not a \ +particularly interesting module by any measure, however it ties together a family of modern \ +toolchain modules." +HOMEPAGE="https://metacpan.org/pod/ExtUtils::Config" +COPYRIGHT="2006 by Ken Williams, Leon Timmermans" +LICENSE="Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-$portVersion.tar.gz" +CHECKSUM_SHA256="82e7e4e90cbe380e152f5de6e3e403746982d502dd30197a123652e46610c66d" +SOURCE_DIR="ExtUtils-Config-$portVersion" + +ARCHITECTURES="any" + +PROVIDES=" + extutils_config = $portVersion + " +REQUIRES=" + haiku + vendor_perl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:make + cmd:perl + " + +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 +}