diff options
Diffstat (limited to 'meta/recipes-extended/tzcode/tzcode-native_2017b.bb')
-rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2017b.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2017b.bb b/meta/recipes-extended/tzcode/tzcode-native_2017b.bb new file mode 100644 index 0000000000..2084f79d52 --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2017b.bb | |||
@@ -0,0 +1,28 @@ | |||
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=ef1a352b901ee7b75a75df8171d6aca7" | ||
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] = "afaf15deb13759e8b543d86350385b16" | ||
13 | SRC_URI[tzcode.sha256sum] = "4d1735bb54e22b8d7443d4d1f1a13d007ae11be79a35e51f8e8322fb8e292d40" | ||
14 | SRC_URI[tzdata.md5sum] = "50dc0dc50c68644c1f70804f2e7a1625" | ||
15 | SRC_URI[tzdata.sha256sum] = "f8242a522ea3496b0ce4ff4f2e75a049178da21001a08b8e666d8cbe07d18086" | ||
16 | |||
17 | S = "${WORKDIR}" | ||
18 | |||
19 | inherit native | ||
20 | |||
21 | EXTRA_OEMAKE += "cc=${CC}" | ||
22 | |||
23 | do_install () { | ||
24 | install -d ${D}${bindir}/ | ||
25 | install -m 755 zic ${D}${bindir}/ | ||
26 | install -m 755 zdump ${D}${bindir}/ | ||
27 | install -m 755 tzselect ${D}${bindir}/ | ||
28 | } | ||