Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame^] | 1 | # note that we allow for us to use data later than our code version |
| 2 | # |
| 3 | SUMMARY = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" |
| 4 | LICENSE = "PD & BSD & BSD-3-Clause" |
| 5 | |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=76ae2becfcb9a685041c6f166b44c2c2" |
| 7 | |
| 8 | SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ |
| 9 | ftp://ftp.iana.org/tz/releases/tzdata${PV}.tar.gz;name=tzdata" |
| 10 | |
| 11 | SRC_URI[tzcode.md5sum] = "f5e0299925631da7cf82d8ce1205111d" |
| 12 | SRC_URI[tzcode.sha256sum] = "11ae66d59b844e8c6c81914c9dd73b666627bd7792855ba9de195eee4520c28d" |
| 13 | SRC_URI[tzdata.md5sum] = "0d3123eb1b453ec0620822bd65be4c42" |
| 14 | SRC_URI[tzdata.sha256sum] = "5efa6b324e64ef921ef700ac3273a51895f672684a30e342f68e47871c6a8cd1" |
| 15 | |
| 16 | S = "${WORKDIR}" |
| 17 | |
| 18 | inherit native |
| 19 | |
| 20 | do_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 | } |