summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/tzdata/tzdata_2010j.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/tzdata/tzdata_2010j.bb')
-rw-r--r--meta/recipes-extended/tzdata/tzdata_2010j.bb160
1 files changed, 160 insertions, 0 deletions
diff --git a/meta/recipes-extended/tzdata/tzdata_2010j.bb b/meta/recipes-extended/tzdata/tzdata_2010j.bb
new file mode 100644
index 0000000000..97eb1173c1
--- /dev/null
+++ b/meta/recipes-extended/tzdata/tzdata_2010j.bb
@@ -0,0 +1,160 @@
1DESCRIPTION = "Timezone data"
2HOMEPAGE = "ftp://elsie.nci.nih.gov/pub/"
3SECTION = "base"
4PRIORITY = "optional"
5LICENSE = "PD"
6LIC_FILES_CHKSUM = "file://asia;beginline=2;endline=3;md5=06468c0e84ef4d4c97045a4a29b08234"
7DEPENDS = "tzcode-native"
8
9PR = "r0"
10
11RCONFLICTS= "timezones timezone-africa timezone-america timezone-antarctica \
12 timezone-arctic timezone-asia timezone-atlantic \
13 timezone-australia timezone-europe timezone-indian \
14 timezone-iso3166.tab timezone-pacific timezone-zone.tab"
15
16SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzdata${PV}.tar.gz"
17
18S = "${WORKDIR}"
19
20TZONES= "africa antarctica asia australasia europe northamerica southamerica \
21 factory solar87 solar88 solar89 etcetera backward systemv \
22# pacificnew \
23 "
24
25do_compile () {
26 for zone in ${TZONES}; do \
27 ${STAGING_BINDIR_NATIVE}/zic -d ${WORKDIR}${datadir}/zoneinfo -L /dev/null \
28 -y ${S}/yearistype.sh ${S}/${zone} ; \
29 ${STAGING_BINDIR_NATIVE}/zic -d ${WORKDIR}${datadir}/zoneinfo/posix -L /dev/null \
30 -y ${S}/yearistype.sh ${S}/${zone} ; \
31 ${STAGING_BINDIR_NATIVE}/zic -d ${WORKDIR}${datadir}/zoneinfo/right -L ${S}/leapseconds \
32 -y ${S}/yearistype.sh ${S}/${zone} ; \
33 done
34}
35
36do_install () {
37 install -d ${D}/usr ${D}${datadir}/zoneinfo
38 cp -pPR ${S}/usr ${D}/
39}
40
41# Packages primarily organized by directory with a major city
42# in most time zones in the base package
43
44PACKAGES = "tzdata tzdata-misc tzdata-posix tzdata-right tzdata-africa \
45 tzdata-americas tzdata-antarctica tzdata-arctic tzdata-asia \
46 tzdata-atlantic tzdata-australia tzdata-europe tzdata-pacific"
47
48FILES_tzdata-africa += "${datadir}/zoneinfo/Africa/*"
49RPROVIDES_tzdata-africa = "tzdata-africa"
50
51FILES_tzdata-americas += "${datadir}/zoneinfo/America/* \
52 ${datadir}/zoneinfo/US/* \
53 ${datadir}/zoneinfo/Brazil/* \
54 ${datadir}/zoneinfo/Canada/* \
55 ${datadir}/zoneinfo/Mexico/* \
56 ${datadir}/zoneinfo/Chile/*"
57RPROVIDES_tzdata-americas = "tzdata-americas"
58
59FILES_tzdata-antarctica += "${datadir}/zoneinfo/Antarctica/*"
60RPROVIDES_tzdata-antarctica = "tzdata-antarctica"
61
62FILES_tzdata-arctic += "${datadir}/zoneinfo/Arctic/*"
63RPROVIDES_tzdata-arctic = "tzdata-arctic"
64
65FILES_tzdata-asia += "${datadir}/zoneinfo/Asia/* \
66 ${datadir}/zoneinfo/Indian/* \
67 ${datadir}/zoneinfo/Mideast/*"
68RPROVIDES_tzdata-asia = "tzdata-asia"
69
70FILES_tzdata-atlantic += "${datadir}/zoneinfo/Atlantic/*"
71RPROVIDES_tzdata-atlantic = "tzdata-atlantic"
72
73FILES_tzdata-australia += "${datadir}/zoneinfo/Australia/*"
74RPROVIDES_tzdata-australia = "tzdata-australia"
75
76FILES_tzdata-europe += "${datadir}/zoneinfo/Europe/*"
77RPROVIDES_tzdata-europe = "tzdata-europe"
78
79FILES_tzdata-pacific += "${datadir}/zoneinfo/Pacific/*"
80RPROVIDES_tzdata-pacific = "tzdata-pacific"
81
82FILES_tzdata-posix += "${datadir}/zoneinfo/posix/*"
83RPROVIDES_tzdata-posix = "tzdata-posix"
84
85FILES_tzdata-right += "${datadir}/zoneinfo/right/*"
86RPROVIDES_tzdata-right = "tzdata-right"
87
88
89FILES_tzdata-misc += "${datadir}/zoneinfo/Cuba \
90 ${datadir}/zoneinfo/Egypt \
91 ${datadir}/zoneinfo/Eire \
92 ${datadir}/zoneinfo/Factory \
93 ${datadir}/zoneinfo/GB-Eire \
94 ${datadir}/zoneinfo/Hongkong \
95 ${datadir}/zoneinfo/Iceland \
96 ${datadir}/zoneinfo/Iran \
97 ${datadir}/zoneinfo/Israel \
98 ${datadir}/zoneinfo/Jamaica \
99 ${datadir}/zoneinfo/Japan \
100 ${datadir}/zoneinfo/Kwajalein \
101 ${datadir}/zoneinfo/Libya \
102 ${datadir}/zoneinfo/Navajo \
103 ${datadir}/zoneinfo/Poland \
104 ${datadir}/zoneinfo/Portugal \
105 ${datadir}/zoneinfo/Singapore \
106 ${datadir}/zoneinfo/Turkey"
107RPROVIDES_tzdata-misc = "tzdata-misc"
108
109
110FILES_${PN} += "${datadir}/zoneinfo/Pacific/Honolulu \
111 ${datadir}/zoneinfo/America/Anchorage \
112 ${datadir}/zoneinfo/America/Los_Angeles \
113 ${datadir}/zoneinfo/America/Denver \
114 ${datadir}/zoneinfo/America/Chicago \
115 ${datadir}/zoneinfo/America/New_York \
116 ${datadir}/zoneinfo/America/Caracas \
117 ${datadir}/zoneinfo/America/Sao_Paulo \
118 ${datadir}/zoneinfo/Europe/London \
119 ${datadir}/zoneinfo/Europe/Paris \
120 ${datadir}/zoneinfo/Africa/Cairo \
121 ${datadir}/zoneinfo/Europe/Moscow \
122 ${datadir}/zoneinfo/Asia/Dubai \
123 ${datadir}/zoneinfo/Asia/Karachi \
124 ${datadir}/zoneinfo/Asia/Dhaka \
125 ${datadir}/zoneinfo/Asia/Bankok \
126 ${datadir}/zoneinfo/Asia/Hong_Kong \
127 ${datadir}/zoneinfo/Asia/Tokyo \
128 ${datadir}/zoneinfo/Australia/Darwin \
129 ${datadir}/zoneinfo/Australia/Adelaide \
130 ${datadir}/zoneinfo/Australia/Brisbane \
131 ${datadir}/zoneinfo/Australia/Sydney \
132 ${datadir}/zoneinfo/Pacific/Noumea \
133 ${datadir}/zoneinfo/CET \
134 ${datadir}/zoneinfo/CST6CDT \
135 ${datadir}/zoneinfo/EET \
136 ${datadir}/zoneinfo/EST \
137 ${datadir}/zoneinfo/EST5EDT \
138 ${datadir}/zoneinfo/GB \
139 ${datadir}/zoneinfo/GMT \
140 ${datadir}/zoneinfo/GMT+0 \
141 ${datadir}/zoneinfo/GMT-0 \
142 ${datadir}/zoneinfo/GMT0 \
143 ${datadir}/zoneinfo/Greenwich \
144 ${datadir}/zoneinfo/HST \
145 ${datadir}/zoneinfo/MET \
146 ${datadir}/zoneinfo/MST \
147 ${datadir}/zoneinfo/MST7MDT \
148 ${datadir}/zoneinfo/NZ \
149 ${datadir}/zoneinfo/NZ-CHAT \
150 ${datadir}/zoneinfo/PRC \
151 ${datadir}/zoneinfo/PST8PDT \
152 ${datadir}/zoneinfo/ROC \
153 ${datadir}/zoneinfo/ROK \
154 ${datadir}/zoneinfo/UCT \
155 ${datadir}/zoneinfo/UTC \
156 ${datadir}/zoneinfo/Universal \
157 ${datadir}/zoneinfo/W-SU \
158 ${datadir}/zoneinfo/WET \
159 ${datadir}/zoneinfo/Zulu \
160 ${datadir}/zoneinfo/Etc/*"