summaryrefslogtreecommitdiff
path: root/opie-help-en/opie-help-en_1.1.7.oe
diff options
context:
space:
mode:
Diffstat (limited to 'opie-help-en/opie-help-en_1.1.7.oe')
-rw-r--r--opie-help-en/opie-help-en_1.1.7.oe25
1 files changed, 25 insertions, 0 deletions
diff --git a/opie-help-en/opie-help-en_1.1.7.oe b/opie-help-en/opie-help-en_1.1.7.oe
index e69de29bb2..984d41c08a 100644
--- a/opie-help-en/opie-help-en_1.1.7.oe
+++ b/opie-help-en/opie-help-en_1.1.7.oe
@@ -0,0 +1,25 @@
+DESCRIPTION = "Opie Help Packages - English"
+SECTION = "opie/help"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+
+TAG = "${@'v' + oe.data.getVar('PV',d,1).replace('.', '_')}"
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/help/en/html "
+S = "${WORKDIR}/html"
+
+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/*')
+}