diff --git a/dev-perl/list_moreutils/list_moreutils-0.430.recipe b/dev-perl/list_moreutils/list_moreutils-0.430.recipe new file mode 100644 index 000000000..509c70c5b --- /dev/null +++ b/dev-perl/list_moreutils/list_moreutils-0.430.recipe @@ -0,0 +1,59 @@ +SUMMARY="Provide the stuff missing in List::Util" +DESCRIPTION="List::MoreUtils provides some trivial but commonly needed functionality on lists \ +which is not going to go into List::Util." +HOMEPAGE="https://metacpan.org/pod/List::MoreUtils" +COPYRIGHT="2011 Aaron Crane + 2004 - 2010 by Tassilo von Parseval + 2013 - 2017 by Jens Rehsack" +LICENSE="Apache v2 + Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-$portVersion.tar.gz" +CHECKSUM_SHA256="63b1f7842cd42d9b538d1e34e0330de5ff1559e4c2737342506418276f646527" +SOURCE_DIR="List-MoreUtils-$portVersion" + +ARCHITECTURES="any" + +PROVIDES=" + list_moreutils = $portVersion + " +REQUIRES=" + haiku + exporter_tiny + list_moreutils_xs + vendor_perl + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:make + cmd:perl + " + +TEST_REQUIRES=" + exporter_tiny + list_moreutils_xs + " + +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 +} diff --git a/dev-perl/list_moreutils_xs/list_moreutils_xs-0.430.recipe b/dev-perl/list_moreutils_xs/list_moreutils_xs-0.430.recipe new file mode 100644 index 000000000..df2ee8f2e --- /dev/null +++ b/dev-perl/list_moreutils_xs/list_moreutils_xs-0.430.recipe @@ -0,0 +1,56 @@ +SUMMARY="Provide compiled List::MoreUtils functions" +DESCRIPTION="List::MoreUtils::XS is a backend for List::MoreUtils. Even if it's possible (because \ +of user wishes) to have it practically independent from List::MoreUtils, it technically depend on \ +List::MoreUtils. Since it's only a backend, the API is not public and can change without any \ +warning." +HOMEPAGE="https://metacpan.org/pod/List::MoreUtils::XS" +COPYRIGHT="2011 Aaron Crane + 2004 - 2010 by Tassilo von Parseval + 2013 - 2017 by Jens Rehsack" +LICENSE="Apache v2 + Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-XS-$portVersion.tar.gz" +CHECKSUM_SHA256="e8ce46d57c179eecd8758293e9400ff300aaf20fefe0a9d15b9fe2302b9cb242" +SOURCE_DIR="List-MoreUtils-XS-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + list_moreutils_xs$secondaryArchSuffix = $portVersion + " +if [ -n "$secondaryArchSuffix" ]; then + PROVIDES+=" + list_moreutils_xs = $portVersion + " +fi +REQUIRES=" + haiku$secondaryArchSuffix + vendor_perl + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:perl + " + +BUILD() +{ + perl Makefile.PL PREFIX=$prefix + make +} + +INSTALL() +{ + make pure_install +} + +TEST() +{ + make test +}