From 1095b5fd313fb89678960fa4ca7129b6a132e45e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Sun, 26 Jan 2025 21:44:32 +0100 Subject: [PATCH] perlio_utf8_strict: new perl module recipe --- .../perlio_utf8_strict-0.010.recipe | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 dev-perl/perlio_utf8_strict/perlio_utf8_strict-0.010.recipe diff --git a/dev-perl/perlio_utf8_strict/perlio_utf8_strict-0.010.recipe b/dev-perl/perlio_utf8_strict/perlio_utf8_strict-0.010.recipe new file mode 100644 index 000000000..89007f9e8 --- /dev/null +++ b/dev-perl/perlio_utf8_strict/perlio_utf8_strict-0.010.recipe @@ -0,0 +1,55 @@ +SUMMARY="Fast and correct UTF-8 IO" +DESCRIPTION="This module provides a fast and correct UTF-8 PerlIO layer. Unlike perl's default \ +:utf8 layer it checks the input for correctness." +HOMEPAGE="https://metacpan.org/pod/PerlIO::utf8_strict" +COPYRIGHT="2012 by Leon Timmermans, Christian Hansen" +LICENSE="Artistic" +REVISION="1" +SOURCE_URI="https://cpan.metacpan.org/authors/id/L/LE/LEONT/PerlIO-utf8_strict-$portVersion.tar.gz" +CHECKSUM_SHA256="bcd2848b72df290b5e984fae8b1a6ca96f6d072003cf222389a8c9e8e1c570cd" +SOURCE_DIR="PerlIO-utf8_strict-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + perlio_utf8_strict$secondaryArchSuffix = $portVersion + " +if [ -n "$secondaryArchSuffix" ]; then + PROVIDES+=" + perlio_utf8_strict = $portVersion + " +fi +REQUIRES=" + haiku$secondaryArchSuffix + vendor_perl + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:perl + " + +TEST_REQUIRES=" + test_exception + " + +BUILD() +{ + perl Makefile.PL PREFIX=$prefix + make +} + +INSTALL() +{ + make pure_install +} + +TEST() +{ + make test +}