blob: 5b5677b77b5453e22190d7729731533f43c57754 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
DESCRIPTION = "Timezone data"
SECTION = "base"
PRIORITY = "optional"
MAINTAINER = "Team Opie <opie@handhelds.org>"
LICENSE = "GPL"
PV = "1.1.9+cvs-${CVSDATE}"
PR = "r3"
SRC_URI = "${HANDHELDS_CVS};module=opie/root"
S = "${WORKDIR}/root"
do_install() {
install -d ${D}${datadir}/
cp -fa usr/share/zoneinfo ${D}${datadir}/
find ${D}${datadir} -name "CVS"|xargs rm -rf
}
python populate_packages_prepend() {
pkgregex = "^(.*)"
pkgpattern = "timezones-%s"
pkgdescription = "Timezone for %s"
do_split_packages(d, root=bb.data.expand('${datadir}/zoneinfo/', d), file_regex=pkgregex, output_pattern=pkgpattern,
description=pkgdescription,allow_dirs=True )
}
FILES_${PN} = "${datadir}/zoneinfo/America/Denver \
${datadir}/zoneinfo/America/NewYork \
${datadir}/zoneinfo/America/LosAngeles \
${datadir}/zoneinfo/Australia/Brisbane \
${datadir}/zoneinfo/Europe/Berlin \
${datadir}/zoneinfo/Asia/Tokyo "
|