diff options
Diffstat (limited to 'meta/recipes-extended/tzcode/tzcode-native_2014c.bb')
| -rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2014c.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2014c.bb b/meta/recipes-extended/tzcode/tzcode-native_2014c.bb new file mode 100644 index 0000000000..65a31ae5ad --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2014c.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 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/tzdata2014c.tar.gz;name=tzdata" | ||
| 10 | |||
| 11 | SRC_URI[tzcode.md5sum] = "657636f201ae8b561225afde49d274af" | ||
| 12 | SRC_URI[tzcode.sha256sum] = "1461e6f6973797ccf516421b272a28082fe26754e8ae94967d8f931a4c8f011b" | ||
| 13 | SRC_URI[tzdata.md5sum] = "fa7f3dc1c6f6238253a6f2b850467e2e" | ||
| 14 | SRC_URI[tzdata.sha256sum] = "aa2924e012644de3a6cc3160ffff690cb3afecf350af435daefa43bb669fb8f1" | ||
| 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 | } | ||
