mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 07:40:07 +02:00
61 lines
1.3 KiB
Bash
61 lines
1.3 KiB
Bash
SUMMARY="Timezone data and utilities"
|
|
DESCRIPTION="The Time Zone Database (often called tz or zoneinfo) contains \
|
|
code and data that represent the history of local time for many \
|
|
representative locations around the globe. It is updated periodically to \
|
|
reflect changes made by political bodies to time zone boundaries, \
|
|
UTC offsets, and daylight-saving rules. Its management procedure is \
|
|
documented in BCP 175: Procedures for Maintaining the Time Zone Database."
|
|
HOMEPAGE="https://www.iana.org/time-zones"
|
|
COPYRIGHT="2020-2022 Arthur David Olson"
|
|
LICENSE="
|
|
Public Domain
|
|
BSD (3-clause)
|
|
"
|
|
REVISION="1"
|
|
SOURCE_URI="https://data.iana.org/time-zones/releases/tzdb-$portVersion.tar.lz"
|
|
CHECKSUM_SHA256="180343dda8b24e000d8f718ab5871efa2ec0ed7725ba9a4267b8bd36af155bc2"
|
|
SOURCE_DIR="tzdb-$portVersion"
|
|
PATCHES="timezone_data-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
timezone_data = $portVersion
|
|
cmd:tzselect
|
|
cmd:zdump
|
|
cmd:zic
|
|
lib:libtz
|
|
devel:libtz
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $dataDir/zoneinfo $dataDir/zoneinfo-leaps
|
|
make \
|
|
USRDIR=$prefix \
|
|
USRSHAREDIR=${dataDir:1} \
|
|
ZICDIR=$binDir \
|
|
MANDIR=$manDir \
|
|
install
|
|
|
|
prepareInstalledDevelLibs libtz
|
|
}
|