tzutils: update to 2022g.
This commit is contained in:
parent
2ba91ad168
commit
4a9e87f3c1
|
@ -1,30 +1,19 @@
|
||||||
# Template file for 'tzutils'
|
# Template file for 'tzutils'
|
||||||
pkgname=tzutils
|
pkgname=tzutils
|
||||||
version=2022f
|
version=2022g
|
||||||
revision=2
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="Time zone and daylight-saving time utilities"
|
short_desc="Time zone and daylight-saving time utilities"
|
||||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
||||||
license="Public Domain"
|
license="Public Domain"
|
||||||
homepage="https://www.iana.org/time-zones"
|
homepage="https://www.iana.org/time-zones"
|
||||||
distfiles="https://www.iana.org/time-zones/repository/releases/tzdb-${version}.tar.lz"
|
distfiles="https://www.iana.org/time-zones/repository/releases/tzdb-${version}.tar.lz"
|
||||||
checksum=180343dda8b24e000d8f718ab5871efa2ec0ed7725ba9a4267b8bd36af155bc2
|
checksum=579013083a7b0fd8d71b02a69f062fa96c7b34b6a96646293f60ba9e1105bd2b
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends="tzutils"
|
hostmakedepends="tzutils"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
|
|
||||||
# enforce 64-bit time_t for Y2038
|
|
||||||
CFLAGS="-Dtime_tz=int64_t"
|
|
||||||
license+=", BSD-3-Clause"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# https://mm.icann.org/pipermail/tz/2022-October/032154.html
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
|
||||||
CFLAGS+=" -DTM_ZONE=tm_zone -DTM_GMTOFF=tm_gmtoff"
|
|
||||||
fi
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
touch version
|
touch version
|
||||||
make ${makejobs} KSHELL=/bin/sh \
|
make ${makejobs} KSHELL=/bin/sh \
|
||||||
|
|
Loading…
Reference in New Issue