blob: a8865a316794edf19942a91ed118ab78f33222e9 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001# note that we allow for us to use data later than our code version
2#
3DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
4LICENSE = "PD & BSD"
5
6LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=d0ff93a73dd5bc3c6e724bb4343760f6"
7
8SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \
9 ftp://ftp.iana.org/tz/releases/tzdata2015f.tar.gz;name=tzdata"
10
11SRC_URI[tzcode.md5sum] = "19578d432ba8b92f73406a17a9bc268d"
12SRC_URI[tzcode.sha256sum] = "0c95e0a42bb61141f790f4f5f204b954d7654c894aa54a594a215d6f38de84ae"
13SRC_URI[tzdata.md5sum] = "e3b82732d20e973e48af1c6f13df9a1d"
14SRC_URI[tzdata.sha256sum] = "959f81b541e042ecb13c50097d264ae92ff03a57979c478dbcf24d5da242531d"
15
16S = "${WORKDIR}"
17
18inherit native
19
20do_install () {
21 install -d ${D}${bindir}/
22 install -m 755 zic ${D}${bindir}/
23 install -m 755 zdump ${D}${bindir}/
24 install -m 755 tzselect ${D}${bindir}/
25}