summaryrefslogtreecommitdiff
path: root/libqtaux/libqtaux2_cvs.oe
blob: 3babeea664671f5ccae109801670393353002233 (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
DESCRIPTION = "Qt/Embedded 2 Auxilliary libraries"
HOMEPAGE = "http://opie.handhelds.org"
SECTION = "opie/libs"
PRIORITY = "optional"
MAINTAINER = "Team Opie <opie@handhelds.org>"
LICENSE = "GPL"
PV = "1.1.6-cvs-${CVSDATE}"

SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/libqtaux"
S = "${WORKDIR}/libqtaux"

inherit qmake

export OPIEDIR = "${STAGING_LIBDIR}/.."

EXTRA_QMAKEVARS_POST = 'DEFINES+=QWS'

do_compile() {
	install -d ${STAGING_INCDIR}/opie2
	for i in `find . -name "*.h"`
	do
		install -m 0644 $i ${STAGING_INCDIR}/opie2/`basename $i`
	done
	oe_runmake MOC=${STAGING_BINDIR}/moc UIC=${STAGING_BINDIR}/uic DESTDIR=${S}
}

# no staging neessary, becaue
# include files already done during do_compile
# lib files already done during do_compile

do_install() {
	oe_libinstall -so -C ${STAGING_LIBDIR} libqtaux2 ${D}/${palmtopdir}/lib
}

FILES_${PN}=${palmtopdir}/lib