diff options
Diffstat (limited to 'meta/recipes-extended/tzcode/tzcode-native_2013h.bb')
-rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2013h.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2013h.bb b/meta/recipes-extended/tzcode/tzcode-native_2013h.bb new file mode 100644 index 0000000000..5cdc7efdff --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2013h.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" | ||
2 | LICENSE = "PD & BSD" | ||
3 | |||
4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=0b7570113550eb5d30aa4bd220964b8f" | ||
5 | |||
6 | # note that we allow for us to use data later than our code version | ||
7 | # | ||
8 | SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ | ||
9 | ftp://ftp.iana.org/tz/releases/tzdata2013h.tar.gz;name=tzdata" | ||
10 | |||
11 | SRC_URI[tzdata.md5sum] = "d310abe42cbe87e76ceb69e2c7003c92" | ||
12 | SRC_URI[tzdata.sha256sum] = "6b9e17e823eec0e09e12f74b452a70be4face1ef14c2fb1917b7c7e60564de27" | ||
13 | |||
14 | SRC_URI[tzcode.md5sum] = "14250703b253e1cfdf97f1e928541508" | ||
15 | SRC_URI[tzcode.sha256sum] = "e14addfc4e0da3cf17ccc1c08cb8094a2a0d3ae9524f565b74e6373c9b83ca0e" | ||
16 | |||
17 | S = "${WORKDIR}" | ||
18 | |||
19 | inherit native | ||
20 | |||
21 | do_install () { | ||
22 | install -d ${D}${bindir}/ | ||
23 | install -m 755 zic ${D}${bindir}/ | ||
24 | install -m 755 zdump ${D}${bindir}/ | ||
25 | install -m 755 tzselect ${D}${bindir}/ | ||
26 | } | ||