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