summaryrefslogtreecommitdiff
path: root/opie-help-en
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2004-06-27 19:58:31 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2004-06-27 19:58:31 +0000
commitedc51de29c201cfe8b0033a314517d68720a64a3 (patch)
treec3197a9e18a8ce0223227e08ab6a82d7a51a7989 /opie-help-en
parenta2b32ef1de09babb284d3d7b6919522dbf3dbeb2 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into home.hrw.one.pl:/home/szczepan/zaurus/oe/packages 2004/06/27 21:58:18+02:00 hrw.one.pl!hrw generate all help packages automatically BKrev: 40df26e7C5P26gYOXTIp3LLWmsTQtA
Diffstat (limited to 'opie-help-en')
-rw-r--r--opie-help-en/opie-help-en_cvs.oe31
1 files changed, 31 insertions, 0 deletions
diff --git a/opie-help-en/opie-help-en_cvs.oe b/opie-help-en/opie-help-en_cvs.oe
index e69de29bb2..0ed4cf8ada 100644
--- a/opie-help-en/opie-help-en_cvs.oe
+++ b/opie-help-en/opie-help-en_cvs.oe
@@ -0,0 +1,31 @@
+DESCRIPTION = "Opie Help Packages - English"
+SECTION = "opie/help"
+PRIORITY = "optional"
+MAINTAINER = "Open Embedded <oe@handhelds.org>"
+LICENSE = "GPL"
+DEPENDS = " "
+PV = "1.1.4-cvs-${CVSDATE}"
+APPNAME = "opie-help-en"
+
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/help/en/html;date=${CVSDATE} "
+
+S = "${WORKDIR}/html"
+
+#inherit opie
+
+# FILES
+do_install() {
+ install -d ${D}${palmtopdir}/help/en/html/
+ install -m 0644 ${WORKDIR}/html/*.html ${D}${palmtopdir}/help/en/html/
+ for d in $(find . -type d | grep -v CVS)
+ do
+ install -d ${D}${palmtopdir}/help/en/html/$d
+ install -m 0644 ${WORKDIR}/html/$d/*.html ${D}${palmtopdir}/help/en/html/$d/
+ done
+}
+
+python populate_packages_prepend () {
+ help_dir = oe.data.expand('${palmtopdir}/help/en/html/', d)
+
+ do_split_packages(d, help_dir, file_regex='^(.*)\.html$', output_pattern='opie-%s-help-en', description='Opie Help for %s - English', aux_files_pattern=help_dir + '%s/*')
+}