Files
haikuports/sys-libs/timezone_data/timezone_data-2020a.recipe
François Revol b38fa0e728 timezone_data: We actually want the source package
since there's some code compiled.
2020-05-18 03:07:49 +02: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="99a6e52363fdb9a386671f0dbcd76e38403aab8c5a7b35e4c8d66c60ec6c70af"
SOURCE_DIR="tzdb-$portVersion"
ARCHITECTURES="x86_gcc2 x86 x86_64"
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
}