diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-02-17 23:39:03 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2005-02-17 23:39:03 +0000 |
commit | adac2cfb1a9b0576e33941cf74e1f2d1adfacd70 (patch) | |
tree | 46bb069860de5cf0e13d19b975ee450f753798f7 | |
parent | a510550eef6d947d1ff9d0c74ff663725d96e9da (diff) |
split timezone packages by continent (?)
BKrev: 42152b17tITmlEFuTaggeoQ441vLDg
-rw-r--r-- | packages/timezones/timezones_cvs.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/timezones/timezones_cvs.bb b/packages/timezones/timezones_cvs.bb index e69de29bb2..ddfbcf5156 100644 --- a/packages/timezones/timezones_cvs.bb +++ b/packages/timezones/timezones_cvs.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Timezone data" +SECTION = "base" +PRIORITY = "optional" +MAINTAINER = "Team Opie <opie@handhelds.org>" +LICENSE = "GPL" +PV = "1.1.9+cvs-${CVSDATE}" +PR = "r1" + +SRC_URI = "${HANDHELDS_CVS};module=opie/root" +S = "${WORKDIR}/root" + +do_install() { + install -d ${D}/usr/share/ + cp -fa usr/share/zoneinfo ${D}/usr/share/ + find ${D}/usr/share -name "CVS"|xargs rm -rf +} + +python populate_packages_prepend() { + pkgregex = "^(.*)" + pkgpattern = "timezones-%s" + pkgdescription = "Timezone for %s" + + do_split_packages(d, root='/usr/share/zoneinfo/', file_regex=pkgregex, output_pattern=pkgpattern, + description=pkgdescription,allow_dirs=True ) +} |