mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
perlio_utf8_strict: new perl module recipe
This commit is contained in:
55
dev-perl/perlio_utf8_strict/perlio_utf8_strict-0.010.recipe
Normal file
55
dev-perl/perlio_utf8_strict/perlio_utf8_strict-0.010.recipe
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user