mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 07:40:07 +02:00
70 lines
1.5 KiB
Bash
70 lines
1.5 KiB
Bash
SUMMARY="Time zone object base class and factory"
|
|
DESCRIPTION="This class is the base class for all time zone objects. A time zone is represented \
|
|
internally as a set of observances, each of which describes the offset from GMT for a given time \
|
|
period.
|
|
Note that without the DateTime module, this module does not do much. It's primary interface is \
|
|
through a DateTime object, and most users will not need to directly use DateTime::TimeZone methods."
|
|
HOMEPAGE="https://metacpan.org/pod/DateTime::TimeZone"
|
|
COPYRIGHT="2024 by Dave Rolsky"
|
|
LICENSE="Artistic"
|
|
REVISION="1"
|
|
SOURCE_URI="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="79ac1c34fb2129b1ad88e0c7090166b98f2a7fd658358f2e1ae7e9bac963cc0f"
|
|
SOURCE_DIR="DateTime-TimeZone-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
datetime_timezone = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
class_singleton
|
|
module_runtime
|
|
namespace_autoclean
|
|
params_validationcompiler
|
|
specio
|
|
try_tiny
|
|
vendor_perl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
class_singleton
|
|
module_runtime
|
|
namespace_autoclean
|
|
params_validationcompiler
|
|
specio
|
|
test_fatal
|
|
test_requires
|
|
try_tiny
|
|
"
|
|
|
|
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
|
|
}
|