diff options
| -rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2009r.bb | 19 | ||||
| -rw-r--r-- | meta/recipes-extended/tzcode/tzcode-native_2011g.bb | 25 |
2 files changed, 25 insertions, 19 deletions
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2009r.bb b/meta/recipes-extended/tzcode/tzcode-native_2009r.bb deleted file mode 100644 index 886687a4e3..0000000000 --- a/meta/recipes-extended/tzcode/tzcode-native_2009r.bb +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" | ||
| 2 | LICENSE = "PD" | ||
| 3 | PR = "r0" | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=3ae8198f82258417ce29066d3b034035" | ||
| 6 | |||
| 7 | SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzcode${PV}.tar.gz \ | ||
| 8 | ftp://elsie.nci.nih.gov/pub/tzdata2009s.tar.gz" | ||
| 9 | |||
| 10 | S = "${WORKDIR}" | ||
| 11 | |||
| 12 | inherit native | ||
| 13 | |||
| 14 | do_install () { | ||
| 15 | install -d ${D}${bindir}/ | ||
| 16 | install -m 755 zic ${D}${bindir}/ | ||
| 17 | install -m 755 zdump ${D}${bindir}/ | ||
| 18 | install -m 755 tzselect ${D}${bindir}/ | ||
| 19 | } | ||
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2011g.bb b/meta/recipes-extended/tzcode/tzcode-native_2011g.bb new file mode 100644 index 0000000000..95ba7ef3bb --- /dev/null +++ b/meta/recipes-extended/tzcode/tzcode-native_2011g.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect" | ||
| 2 | LICENSE = "PD" | ||
| 3 | PR = "r0" | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=3ae8198f82258417ce29066d3b034035" | ||
| 6 | |||
| 7 | SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzcode${PV}.tar.gz;name=tzcode \ | ||
| 8 | ftp://elsie.nci.nih.gov/pub/tzdata2011g.tar.gz;name=tzdata" | ||
| 9 | |||
| 10 | SRC_URI[tzcode.md5sum] = "ecb564279b28c5b184421c525d997d6c" | ||
| 11 | SRC_URI[tzcode.sha256sum] = "636c735d8df1276cc8ab88bc31bb36a21f91ed34e26d181303ecd8fe48021bc2" | ||
| 12 | SRC_URI[tzdata.md5sum] = "a068c27e7e426fdb12ab0c88506df20d" | ||
| 13 | SRC_URI[tzdata.sha256sum] = "01a2a189eeda63baacc5e68e6c13afffc7edce182102fffc53acbf35e8703d3c" | ||
| 14 | |||
| 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 | } | ||
