Files
haikuports/sys-libs/timezone_data/timezone_data-2021a.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

59 lines
1.2 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 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="21bf125de7b0c486cb57f1ba61b39584c949b2e6cac0a03a6425435d9bff37d0"
SOURCE_DIR="tzdb-$portVersion"
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()
{
make \
USRDIR=$prefix \
USRSHAREDIR=$dataDir \
ZICDIR=$binDir \
MANDIR=$manDir \
install
prepareInstalledDevelLibs libtz
}