32 lines
1.1 KiB
BlitzBasic
32 lines
1.1 KiB
BlitzBasic
|
# note that we allow for us to use data later than our code version
|
||
|
#
|
||
|
SUMMARY = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
|
||
|
LICENSE = "PD & BSD & BSD-3-Clause"
|
||
|
|
||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=c679c9d6b02bc2757b3eaf8f53c43fba"
|
||
|
|
||
|
SRC_URI =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \
|
||
|
http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata \
|
||
|
file://0001-Fix-Makefile-quoting-bug.patch \
|
||
|
file://0002-Port-zdump-to-C90-snprintf.patch"
|
||
|
|
||
|
UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones"
|
||
|
|
||
|
SRC_URI[tzcode.md5sum] = "2fe6986231db5182c61d565021a0cd7b"
|
||
|
SRC_URI[tzcode.sha256sum] = "81e8b4bc23e60906640c266bbff3789661e22f0fa29fe61b96ec7c2816c079b7"
|
||
|
SRC_URI[tzdata.md5sum] = "1e751e7e08f8b68530674f04619d894d"
|
||
|
SRC_URI[tzdata.sha256sum] = "d6543f92a929826318e2f44ff3a7611ce5f565a43e10250b42599d0ba4cbd90b"
|
||
|
|
||
|
S = "${WORKDIR}"
|
||
|
|
||
|
inherit native
|
||
|
|
||
|
EXTRA_OEMAKE += "cc='${CC}'"
|
||
|
|
||
|
do_install () {
|
||
|
install -d ${D}${bindir}/
|
||
|
install -m 755 zic ${D}${bindir}/
|
||
|
install -m 755 zdump ${D}${bindir}/
|
||
|
install -m 755 tzselect ${D}${bindir}/
|
||
|
}
|