diff options
Diffstat (limited to 'packages/opie-help-en')
-rw-r--r-- | packages/opie-help-en/opie-help-en_1.1.8.bb | 25 | ||||
-rw-r--r-- | packages/opie-help-en/opie-help-en_cvs.bb | 2 |
2 files changed, 26 insertions, 1 deletions
diff --git a/packages/opie-help-en/opie-help-en_1.1.8.bb b/packages/opie-help-en/opie-help-en_1.1.8.bb index e69de29bb2..03855646e2 100644 --- a/packages/opie-help-en/opie-help-en_1.1.8.bb +++ b/packages/opie-help-en/opie-help-en_1.1.8.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Opie Help Packages - English" +SECTION = "opie/help" +PRIORITY = "optional" +MAINTAINER = "Team Opie <opie@handhelds.org>" +LICENSE = "GPL" + +TAG = "${@'v' + bb.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\|patch") + 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 = bb.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/*') +} diff --git a/packages/opie-help-en/opie-help-en_cvs.bb b/packages/opie-help-en/opie-help-en_cvs.bb index 1826c3325c..8d3b757981 100644 --- a/packages/opie-help-en/opie-help-en_cvs.bb +++ b/packages/opie-help-en/opie-help-en_cvs.bb @@ -11,7 +11,7 @@ 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) + for d in $(find . -type d | grep -v "CVS\|patch") do install -d ${D}${palmtopdir}/help/en/html/$d install -m 0644 ${WORKDIR}/html/$d/*.html ${D}${palmtopdir}/help/en/html/$d/ |