summaryrefslogtreecommitdiff
path: root/packages/opie-help-en
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-01-29 09:04:47 +0000
committerMichael Lauer <mickey@vanille-media.de>2005-01-29 09:04:47 +0000
commit2c1c364a07f5ae0666635ad4229f2deebb4b5118 (patch)
treedcfc4ec40d934753484443c003c82e5c3b9afa0c /packages/opie-help-en
parentf0c3f1f2e11453ff876ed3079bb6bde639d76c98 (diff)
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2005/01/28 22:38:28+01:00 uni-frankfurt.de!mickeyl repair opie-help-en packaging BKrev: 41fb51afw4iqKav_CuElNk73w7d_SQ
Diffstat (limited to 'packages/opie-help-en')
-rw-r--r--packages/opie-help-en/opie-help-en_1.1.8.bb25
-rw-r--r--packages/opie-help-en/opie-help-en_cvs.bb2
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/