diff options
Diffstat (limited to 'meta/recipes-extended/tzcode/tzcode-native_2012j.bb')
-rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2012j.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2012j.bb b/meta/recipes-extended/tzcode/tzcode-native_2012j.bb new file mode 100644 index 0000000000..47f9f2abb5 --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2012j.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" | ||
2 | LICENSE = "PD" | ||
3 | PR = "r1" | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=d7a19b8c6d8a28785c4cd04ff2e46d27" | ||
6 | |||
7 | SRC_URI =" ftp://ftp.iana.org/tz/releases/tzcode${PV}.tar.gz;name=tzcode \ | ||
8 | ftp://ftp.iana.org/tz/releases/tzdata2012j.tar.gz;name=tzdata" | ||
9 | |||
10 | SRC_URI[tzcode.md5sum] = "868b5d0dbf0e115ae4eb39a932ad0c4c" | ||
11 | SRC_URI[tzcode.sha256sum] = "ee4361b3b4ae201a270857c84d0f063c2a2191b3e4cd7414ea4622bb8bae9a82" | ||
12 | RC_URI[tzdata.md5sum] = "ba2f92ae7ad099090e8f86cff2f2d799" | ||
13 | SRC_URI[tzdata.sha256sum] = "4b6a3c2831bdbb68ab1a1bf906bcf11d18ab78009713a0339da6fe96b6afceaa" | ||
14 | |||
15 | S = "${WORKDIR}" | ||
16 | |||
17 | inherit native | ||
18 | |||
19 | do_install () { | ||
20 | install -d ${D}${bindir}/ | ||
21 | install -m 755 zic ${D}${bindir}/ | ||
22 | install -m 755 zdump ${D}${bindir}/ | ||
23 | install -m 755 tzselect ${D}${bindir}/ | ||
24 | } | ||