diff options
Diffstat (limited to 'meta/recipes-extended/tzcode/tzcode-native_2016e.bb')
-rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2016e.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2016e.bb b/meta/recipes-extended/tzcode/tzcode-native_2016e.bb new file mode 100644 index 0000000000..78af639676 --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2016e.bb | |||
@@ -0,0 +1,27 @@ | |||
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 =" http://www.iana.org/time-zones/repository/releases/tzcode${PV}.tar.gz;name=tzcode \ | ||
9 | http://www.iana.org/time-zones/repository/releases/tzdata${PV}.tar.gz;name=tzdata" | ||
10 | UPSTREAM_CHECK_URI = "http://www.iana.org/time-zones" | ||
11 | |||
12 | SRC_URI[tzcode.md5sum] = "6e6d3f0046a9383aafba8c2e0708a3a3" | ||
13 | SRC_URI[tzcode.sha256sum] = "57d8c4fcd5e8a90657d0e298eac5effb1a642119c92308db68d13a4612fa459e" | ||
14 | |||
15 | SRC_URI[tzdata.md5sum] = "43f9f929a8baf0dd2f17efaea02c2d2a" | ||
16 | SRC_URI[tzdata.sha256sum] = "ba00f899f18dc4048d7fa21f5e1fdef434496084eedc06f6caa15e5ecdb6bd81" | ||
17 | |||
18 | S = "${WORKDIR}" | ||
19 | |||
20 | inherit native | ||
21 | |||
22 | do_install () { | ||
23 | install -d ${D}${bindir}/ | ||
24 | install -m 755 zic ${D}${bindir}/ | ||
25 | install -m 755 zdump ${D}${bindir}/ | ||
26 | install -m 755 tzselect ${D}${bindir}/ | ||
27 | } | ||