diff options
Diffstat (limited to 'meta/recipes-extended/tzdata/tzdata_2011i.bb')
-rw-r--r-- | meta/recipes-extended/tzdata/tzdata_2011i.bb | 168 |
1 files changed, 168 insertions, 0 deletions
diff --git a/meta/recipes-extended/tzdata/tzdata_2011i.bb b/meta/recipes-extended/tzdata/tzdata_2011i.bb new file mode 100644 index 0000000000..f507b7ec12 --- /dev/null +++ b/meta/recipes-extended/tzdata/tzdata_2011i.bb | |||
@@ -0,0 +1,168 @@ | |||
1 | DESCRIPTION = "Timezone data" | ||
2 | HOMEPAGE = "ftp://elsie.nci.nih.gov/pub/" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "PD" | ||
5 | LIC_FILES_CHKSUM = "file://asia;beginline=2;endline=3;md5=06468c0e84ef4d4c97045a4a29b08234" | ||
6 | DEPENDS = "tzcode-native" | ||
7 | |||
8 | PR = "r0" | ||
9 | |||
10 | RCONFLICTS= "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 | |||
15 | SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzdata${PV}.tar.gz;name=tzdata" | ||
16 | |||
17 | SRC_URI[tzdata.md5sum] = "c7a86ec34f30f8d6aa77ef94902a3047" | ||
18 | SRC_URI[tzdata.sha256sum] = "f8dde7ca5e61f21ac34c8cdbef5568d00c829981211098f059d8104964c81ffa" | ||
19 | |||
20 | S = "${WORKDIR}" | ||
21 | |||
22 | TZONES= "africa antarctica asia australasia europe northamerica southamerica \ | ||
23 | factory solar87 solar88 solar89 etcetera backward systemv \ | ||
24 | " | ||
25 | # pacificnew | ||
26 | |||
27 | do_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 | |||
38 | do_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 | |||
50 | PACKAGES = "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 | |||
54 | FILES_tzdata-africa += "${datadir}/zoneinfo/Africa/*" | ||
55 | RPROVIDES_tzdata-africa = "tzdata-africa" | ||
56 | |||
57 | FILES_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/*" | ||
63 | RPROVIDES_tzdata-americas = "tzdata-americas" | ||
64 | |||
65 | FILES_tzdata-antarctica += "${datadir}/zoneinfo/Antarctica/*" | ||
66 | RPROVIDES_tzdata-antarctica = "tzdata-antarctica" | ||
67 | |||
68 | FILES_tzdata-arctic += "${datadir}/zoneinfo/Arctic/*" | ||
69 | RPROVIDES_tzdata-arctic = "tzdata-arctic" | ||
70 | |||
71 | FILES_tzdata-asia += "${datadir}/zoneinfo/Asia/* \ | ||
72 | ${datadir}/zoneinfo/Indian/* \ | ||
73 | ${datadir}/zoneinfo/Mideast/*" | ||
74 | RPROVIDES_tzdata-asia = "tzdata-asia" | ||
75 | |||
76 | FILES_tzdata-atlantic += "${datadir}/zoneinfo/Atlantic/*" | ||
77 | RPROVIDES_tzdata-atlantic = "tzdata-atlantic" | ||
78 | |||
79 | FILES_tzdata-australia += "${datadir}/zoneinfo/Australia/*" | ||
80 | RPROVIDES_tzdata-australia = "tzdata-australia" | ||
81 | |||
82 | FILES_tzdata-europe += "${datadir}/zoneinfo/Europe/*" | ||
83 | RPROVIDES_tzdata-europe = "tzdata-europe" | ||
84 | |||
85 | FILES_tzdata-pacific += "${datadir}/zoneinfo/Pacific/*" | ||
86 | RPROVIDES_tzdata-pacific = "tzdata-pacific" | ||
87 | |||
88 | FILES_tzdata-posix += "${datadir}/zoneinfo/posix/*" | ||
89 | RPROVIDES_tzdata-posix = "tzdata-posix" | ||
90 | |||
91 | FILES_tzdata-right += "${datadir}/zoneinfo/right/*" | ||
92 | RPROVIDES_tzdata-right = "tzdata-right" | ||
93 | |||
94 | |||
95 | FILES_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" | ||
113 | RPROVIDES_tzdata-misc = "tzdata-misc" | ||
114 | |||
115 | |||
116 | FILES_${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/*" | ||