mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
69 lines
1.3 KiB
Bash
69 lines
1.3 KiB
Bash
SUMMARY="Localization support for DateTime.pm"
|
|
DESCRIPTION="DateTime::Locale is primarily a factory for the various locale subclasses. It also \
|
|
provides some functions for getting information on all the available locales."
|
|
HOMEPAGE="https://metacpan.org/pod/DateTime::Locale"
|
|
COPYRIGHT="2003 - 2024 by Dave Rolsky"
|
|
LICENSE="Artistic"
|
|
REVISION="1"
|
|
SOURCE_URI="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-Locale-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="6c859c17cf274749dfc2c6aaf6bf4b492b605fabdddd23712efbbd5caf601de1"
|
|
SOURCE_DIR="DateTime-Locale-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
datetime_locale = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
dist_checkconflicts
|
|
file_sharedir
|
|
namespace_autoclean
|
|
params_validationcompiler
|
|
specio
|
|
vendor_perl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
file_sharedir_install
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
cpan_meta_check
|
|
dist_checkconflicts
|
|
file_sharedir
|
|
ipc_system_simple
|
|
namespace_autoclean
|
|
params_validationcompiler
|
|
path_tiny
|
|
specio
|
|
test_file_sharedir
|
|
test2_plugin_nowarnings
|
|
"
|
|
|
|
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
|
|
}
|