summaryrefslogtreecommitdiff
path: root/opie-help-en/opie-help-en_cvs.oe
blob: 7569a9728704ddf4a8cdb62791d63c453c30d8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
DESCRIPTION = "Opie Help Packages - English"
SECTION = "opie/help"
PRIORITY = "optional"
MAINTAINER = "Team Opie <opie@handhelds.org>"
LICENSE = "GPL"
DEPENDS = " "
PV = "1.1.6-cvs-${CVSDATE}"
APPNAME = "opie-help-en"

SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/help/en/html "

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/*')
}