aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/tzcode/tzcode-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/tzcode/tzcode-native.inc')
-rw-r--r--meta-oe/recipes-extended/tzcode/tzcode-native.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/tzcode/tzcode-native.inc b/meta-oe/recipes-extended/tzcode/tzcode-native.inc
new file mode 100644
index 0000000000..b946e71fbc
--- /dev/null
+++ b/meta-oe/recipes-extended/tzcode/tzcode-native.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
+INC_PR = "r4"
+
+SRC_URI = " \
+ ftp://elsie.nci.nih.gov/pub/tzcode${PV}.tar.gz;name=tzcode-${PV};subdir=${BPN}-${PV} \
+ ftp://elsie.nci.nih.gov/pub/tzdata${TZDATA_PV}.tar.gz;name=tzdata-${TZDATA_PV};subdir=${BPN}-${PV} \
+ "
+
+inherit native
+
+do_install () {
+ install -d ${D}${bindir}
+ install -m 755 zic ${D}${bindir}/
+ install -m 755 zdump ${D}${bindir}/
+ install -m 755 tzselect ${D}${bindir}/
+}
+
+NATIVE_INSTALL_WORKS = "1"