diff options
Diffstat (limited to 'meta/recipes-extended/tzdata/tzdata_2010j.bb')
-rw-r--r-- | meta/recipes-extended/tzdata/tzdata_2010j.bb | 160 |
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 @@ | |||
1 | DESCRIPTION = "Timezone data" | ||
2 | HOMEPAGE = "ftp://elsie.nci.nih.gov/pub/" | ||
3 | SECTION = "base" | ||
4 | PRIORITY = "optional" | ||
5 | LICENSE = "PD" | ||
6 | LIC_FILES_CHKSUM = "file://asia;beginline=2;endline=3;md5=06468c0e84ef4d4c97045a4a29b08234" | ||
7 | DEPENDS = "tzcode-native" | ||
8 | |||
9 | PR = "r0" | ||
10 | |||
11 | RCONFLICTS= "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 | |||
16 | SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzdata${PV}.tar.gz" | ||
17 | |||
18 | S = "${WORKDIR}" | ||
19 | |||
20 | TZONES= "africa antarctica asia australasia europe northamerica southamerica \ | ||
21 | factory solar87 solar88 solar89 etcetera backward systemv \ | ||
22 | # pacificnew \ | ||
23 | " | ||
24 | |||
25 | do_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 | |||
36 | do_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 | |||
44 | PACKAGES = "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 | |||
48 | FILES_tzdata-africa += "${datadir}/zoneinfo/Africa/*" | ||
49 | RPROVIDES_tzdata-africa = "tzdata-africa" | ||
50 | |||
51 | FILES_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/*" | ||
57 | RPROVIDES_tzdata-americas = "tzdata-americas" | ||
58 | |||
59 | FILES_tzdata-antarctica += "${datadir}/zoneinfo/Antarctica/*" | ||
60 | RPROVIDES_tzdata-antarctica = "tzdata-antarctica" | ||
61 | |||
62 | FILES_tzdata-arctic += "${datadir}/zoneinfo/Arctic/*" | ||
63 | RPROVIDES_tzdata-arctic = "tzdata-arctic" | ||
64 | |||
65 | FILES_tzdata-asia += "${datadir}/zoneinfo/Asia/* \ | ||
66 | ${datadir}/zoneinfo/Indian/* \ | ||
67 | ${datadir}/zoneinfo/Mideast/*" | ||
68 | RPROVIDES_tzdata-asia = "tzdata-asia" | ||
69 | |||
70 | FILES_tzdata-atlantic += "${datadir}/zoneinfo/Atlantic/*" | ||
71 | RPROVIDES_tzdata-atlantic = "tzdata-atlantic" | ||
72 | |||
73 | FILES_tzdata-australia += "${datadir}/zoneinfo/Australia/*" | ||
74 | RPROVIDES_tzdata-australia = "tzdata-australia" | ||
75 | |||
76 | FILES_tzdata-europe += "${datadir}/zoneinfo/Europe/*" | ||
77 | RPROVIDES_tzdata-europe = "tzdata-europe" | ||
78 | |||
79 | FILES_tzdata-pacific += "${datadir}/zoneinfo/Pacific/*" | ||
80 | RPROVIDES_tzdata-pacific = "tzdata-pacific" | ||
81 | |||
82 | FILES_tzdata-posix += "${datadir}/zoneinfo/posix/*" | ||
83 | RPROVIDES_tzdata-posix = "tzdata-posix" | ||
84 | |||
85 | FILES_tzdata-right += "${datadir}/zoneinfo/right/*" | ||
86 | RPROVIDES_tzdata-right = "tzdata-right" | ||
87 | |||
88 | |||
89 | FILES_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" | ||
107 | RPROVIDES_tzdata-misc = "tzdata-misc" | ||
108 | |||
109 | |||
110 | FILES_${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/*" | ||