Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # note that we allow for us to use data later than our code version |
| 2 | # |
| 3 | DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" |
| 4 | LICENSE = "PD & BSD" |
| 5 | |
| 6 | LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=d0ff93a73dd5bc3c6e724bb4343760f6" |
| 7 | |
| 8 | SRC_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 | |
| 11 | SRC_URI[tzcode.md5sum] = "19578d432ba8b92f73406a17a9bc268d" |
| 12 | SRC_URI[tzcode.sha256sum] = "0c95e0a42bb61141f790f4f5f204b954d7654c894aa54a594a215d6f38de84ae" |
| 13 | SRC_URI[tzdata.md5sum] = "e3b82732d20e973e48af1c6f13df9a1d" |
| 14 | SRC_URI[tzdata.sha256sum] = "959f81b541e042ecb13c50097d264ae92ff03a57979c478dbcf24d5da242531d" |
| 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 | } |