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