libqtaux2: fix staging of opie headers.
authorAndrea Adami <andrea.adami@gmail.com>
Fri, 5 Nov 2010 23:51:16 +0000 (00:51 +0100)
committerAndrea Adami <andrea.adami@gmail.com>
Fri, 5 Nov 2010 23:51:16 +0000 (00:51 +0100)
* staging code in do_compile has been converted and moved in do_install
* fix breakage introduced with febcae3b7b0b58c2668892ad1798eb1368bd4bc4
* (liquidset.cpp:38:32: error: opie2/ocolorbutton.h: No such file or dir...)
* tested rebuilding opie-image armv5te from scratch
* bump PR

recipes/libqtaux/libqtaux2.inc

index 73f1a29..98164a2 100644 (file)
@@ -4,21 +4,22 @@ SECTION = "opie/libs"
 PRIORITY = "optional"
 LICENSE = "GPL"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 S = "${WORKDIR}/libqtaux"
 
 inherit opie
 
 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_NATIVE}/moc UIC=${STAGING_BINDIR_NATIVE}/uic DESTDIR=${S}
 }
 
 do_install() {
+        install -d ${D}${includedir}/opie2
+        for i in `find . -name "*.h"`
+        do
+                install -m 0644 $i ${D}${includedir}/opie2/`basename $i`
+        done
+
         oe_libinstall -so libqtaux2 ${D}${libdir}
 }