diff options
Diffstat (limited to 'packages/opie-help-en/opie-help-en_1.1.8.bb')
-rw-r--r-- | packages/opie-help-en/opie-help-en_1.1.8.bb | 25 |
1 files changed, 25 insertions, 0 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/*') +} |