summaryrefslogtreecommitdiff
path: root/opie-helpbrowser/opie-helpbrowser_cvs.oe
blob: 0010394bfc955c65269dfd7963768424b62ebd56 (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
DESCRIPTION = "Opie Help Browser"
SECTION = "opie/applications"
PRIORITY = "optional"
MAINTAINER = "Opie Team <opie@handhelds.org>"
LICENSE = "GPL"
DEPENDS = "virtual/libc libopie2"
PV = "1.1.3-cvs-${CVSDATE}"

SRC_URI = "cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=opie/core/apps/helpbrowser \
           cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=opie/pics \
           cvs://anoncvs:anoncvs@192.58.209.91/cvs;module=opie/apps"

S = "${WORKDIR}/helpbrowser"

inherit opie

do_install() {
    install -d ${D}/${palmtopdir}/bin/
    install -d ${D}/${palmtopdir}/pics/
    install -d ${D}/${palmtopdir}/pics/helpbrowser/
    install -d ${D}/${palmtopdir}/apps/Applications/
    if [ -f ${S}/libembeddedkonsole.so.1.0.0 ]; then
     install -m 0755 libhelpbrowser.so* ${D}/${palmtopdir}/plugins/application/
     ln -sf ${D}/${palmtopdir}/bin/quicklaunch ${D}/${palmtopdir}/bin/helpbrowser
    else
     install -m 0755 ${S}/helpbrowser ${D}/${palmtopdir}/bin/helpbrowser
    fi
    install -m 0644 ${WORKDIR}/pics/helpbrowser/*.png ${D}/${palmtopdir}/pics/helpbrowser/
    install -m 0644 ${WORKDIR}/apps/Applications/helpbrowser.desktop ${D}/${palmtopdir}/apps/Applications/
}