summaryrefslogtreecommitdiff
path: root/opie-reader/opie-reader_cvs.oe
blob: 838ebda508756b1434ff22ac5874fce098c34635 (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
32
33
34
35
36
37
38
39
40
41
42
DESCRIPTION = "E-Book reader"
SECTION = "opie/applications"
PRIORITY = "optional"
MAINTAINER = "Team Opie <opie@handhelds.org>"
LICENSE = "GPL"
PV = "1.1.7+cvs-${CVSDATE}"
APPNAME = "opie-reader"
APPTYPE = "binary"

SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/noncore/apps/opie-reader \
           cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/pics \
           cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/apps"

S = "${WORKDIR}/opie-reader"

EXTRA_QMAKEVARS_POST += "LIBS+=-L${S}"

inherit opie

# FILES bin/opie-reader apps/Applications/opie-reader.desktop pics/opie-reader/*
do_install() {
        install -d ${D}${palmtopdir}/pics/${APPNAME}/ \ 
                   ${D}${palmtopdir}/lib/ \
                   ${D}${palmtopdir}/plugins/reader/data/ \
				   ${D}${palmtopdir}/plugins/reader/filters/ \
                   ${D}${palmtopdir}/plugins/reader/codecs/ 
        install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/

		for f in libAportis libPlucker libppms libCHM libWeasel libiSilo   
		do
			oe_libinstall -so -C ${S}/ $f ${D}/${palmtopdir}/plugins/reader/codecs/
		done

		for f in libreader_codec libreader_pdb libreader_pluckerbase
		do
			oe_libinstall -so -C ${S}/ $f ${D}/${palmtopdir}/lib/
		done
		oe_libinstall -so -C ${S}/ libHTMLfilter ${D}/${palmtopdir}/plugins/reader/filters/
		install -m 0644 ${S}/HTMLentities ${D}/${palmtopdir}/plugins/reader/data/
		
}