summaryrefslogtreecommitdiffstats
path: root/meta/packages/tzdata
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-11-01 09:00:56 +0000
committerRoss Burton <ross@openedhand.com>2007-11-01 09:00:56 +0000
commitb193e2509ed70f1a0386f0bc564728670988c788 (patch)
tree0924d7553414466474bdc5ea9b5f46feaca30f4b /meta/packages/tzdata
parent76df265a956c240a083d534a3b99fa74ce24513b (diff)
downloadpoky-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.bb158
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 @@
1DESCRIPTION = "Timezone data"
2SECTION = "base"
3PRIORITY = "optional"
4DEPENDS = "tzcode-native"
5
6PR = "r0"
7
8PROVIDES = "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"
11RPROVIDES = "tzdata"
12RCONFLICTS= "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
17SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzdata${PV}.tar.gz"
18
19S = "${WORKDIR}"
20
21TZONES= "africa antarctica asia australasia europe northamerica southamerica \
22 factory solar87 solar88 solar89 etcetera backward systemv \
23# pacificnew \
24 "
25
26do_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
37do_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
45PACKAGES = "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
49FILES_tzdata-africa += "${datadir}/zoneinfo/Africa/*"
50RPROVIDES_tzdata-africa = "tzdata-africa"
51
52FILES_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/*"
58RPROVIDES_tzdata-americas = "tzdata-americas"
59
60FILES_tzdata-antarctica += "${datadir}/zoneinfo/Antarctica/*"
61RPROVIDES_tzdata-antarctica = "tzdata-antarctica"
62
63FILES_tzdata-arctic += "${datadir}/zoneinfo/Arctic/*"
64RPROVIDES_tzdata-arctic = "tzdata-arctic"
65
66FILES_tzdata-asia += "${datadir}/zoneinfo/Asia/* \
67 ${datadir}/zoneinfo/Indian/* \
68 ${datadir}/zoneinfo/Mideast/*"
69RPROVIDES_tzdata-asia = "tzdata-asia"
70
71FILES_tzdata-atlantic += "${datadir}/zoneinfo/Atlantic/*"
72RPROVIDES_tzdata-atlantic = "tzdata-atlantic"
73
74FILES_tzdata-australia += "${datadir}/zoneinfo/Australia/*"
75RPROVIDES_tzdata-australia = "tzdata-australia"
76
77FILES_tzdata-europe += "${datadir}/zoneinfo/Europe/*"
78RPROVIDES_tzdata-europe = "tzdata-europe"
79
80FILES_tzdata-pacific += "${datadir}/zoneinfo/Pacific/*"
81RPROVIDES_tzdata-pacific = "tzdata-pacific"
82
83FILES_tzdata-posix += "${datadir}/zoneinfo/posix/*"
84RPROVIDES_tzdata-posix = "tzdata-posix"
85
86FILES_tzdata-right += "${datadir}/zoneinfo/right/*"
87RPROVIDES_tzdata-right = "tzdata-right"
88
89
90FILES_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"
108RPROVIDES_tzdata-misc = "tzdata-misc"
109
110
111FILES_${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/*"