mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
unicode_utf8: new perl module recipe
This commit is contained in:
56
dev-perl/unicode_utf8/unicode_utf8-0.62.recipe
Normal file
56
dev-perl/unicode_utf8/unicode_utf8-0.62.recipe
Normal file
@@ -0,0 +1,56 @@
|
||||
SUMMARY="Encoding and decoding of UTF-8 encoding form"
|
||||
DESCRIPTION="This module provides functions to encode and decode UTF-8 encoding form as specified \
|
||||
by Unicode and ISO/IEC 10646:2011."
|
||||
HOMEPAGE="https://metacpan.org/pod/Unicode::UTF8"
|
||||
COPYRIGHT="2011-2017 by Christian Hansen"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://cpan.metacpan.org/authors/id/C/CH/CHANSEN/Unicode-UTF8-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="fa8722d0b74696e332fddd442994436ea93d3bfc7982d4babdcedfddd657d0f6"
|
||||
SOURCE_DIR="Unicode-UTF8-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
unicode_utf8$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
if [ -n "$secondaryArchSuffix" ]; then
|
||||
PROVIDES+="
|
||||
unicode_utf8 = $portVersion
|
||||
"
|
||||
fi
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
vendor_perl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
TEST_REQUIRES="
|
||||
test_fatal
|
||||
variable_magic
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
perl Makefile.PL PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make pure_install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user