summaryrefslogtreecommitdiff
path: root/libqtaux
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2004-09-30 19:14:13 +0000
committerMatthias Hentges <oe@hentges.net>2004-09-30 19:14:13 +0000
commit22d92d8a9a57ed8193c729c51fb09c89be2422f6 (patch)
treed8ed52072b8b2d216e8230f4ded7bdabdb15f909 /libqtaux
parentb60f164655692ec668cc2bbee39afaf7f83af5f7 (diff)
Remove QTDIR from libqtaux. Courtesy. Credits goe to andersee
BKrev: 415c5b05WPex-gukTHl4PGFZGv5COQ
Diffstat (limited to 'libqtaux')
-rw-r--r--libqtaux/libqtaux2_1.1.6.oe36
-rw-r--r--libqtaux/libqtaux2_cvs.oe1
2 files changed, 36 insertions, 1 deletions
diff --git a/libqtaux/libqtaux2_1.1.6.oe b/libqtaux/libqtaux2_1.1.6.oe
index e69de29bb2..3f4012a569 100644
--- a/libqtaux/libqtaux2_1.1.6.oe
+++ b/libqtaux/libqtaux2_1.1.6.oe
@@ -0,0 +1,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"
+
+TAG = "${@'v' + oe.data.getVar('PV',d,1).replace('.', '_')}"
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;tag=${TAG};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
+
diff --git a/libqtaux/libqtaux2_cvs.oe b/libqtaux/libqtaux2_cvs.oe
index 82b99f9540..3babeea664 100644
--- a/libqtaux/libqtaux2_cvs.oe
+++ b/libqtaux/libqtaux2_cvs.oe
@@ -11,7 +11,6 @@ S = "${WORKDIR}/libqtaux"
inherit qmake
-export QTDIR = "${STAGING_LIBDIR}/.."
export OPIEDIR = "${STAGING_LIBDIR}/.."
EXTRA_QMAKEVARS_POST = 'DEFINES+=QWS'