[oe-commits] org.oe.dev txdrug: fix include path and incorrect assumptions about $palmtopdir. closes 2420.

Laibsch commit oe at amethyst.openembedded.net
Mon Sep 1 17:54:02 UTC 2008


txdrug: fix include path and incorrect assumptions about $palmtopdir.  closes 2420.

Author: Laibsch at openembedded.org
Branch: org.openembedded.dev
Revision: 5a718ed2925baa0e3d67f018f0de9024daf27286
ViewMTN: http://monotone.openembedded.org/revision/info/5a718ed2925baa0e3d67f018f0de9024daf27286
Files:
1
packages/txdrug/txdrug_0.1.bb
Diffs:

#
# mt diff -re201cb442241f39cb70dbccfac1f39a0cc88d438 -r5a718ed2925baa0e3d67f018f0de9024daf27286
#
#
#
# patch "packages/txdrug/txdrug_0.1.bb"
#  from [884ee7850baaeedf276463127ce428be1e4c32fd]
#    to [2483581c9b2de38d9e432874aaddadb146743329]
#
============================================================
--- packages/txdrug/txdrug_0.1.bb	884ee7850baaeedf276463127ce428be1e4c32fd
+++ packages/txdrug/txdrug_0.1.bb	2483581c9b2de38d9e432874aaddadb146743329
@@ -3,10 +3,10 @@ DEPENDS = "sqlite"
 PRIORITY = "optional"
 LICENSE = "GPL"
 DEPENDS = "sqlite"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "http://teax.sourceforge.net/txdrug-${PV}.tar.gz \
-           file://${FILESDIR}/${palmtopdir}"
+           file://${FILESDIR}/opt/QtPalmtop"
 S = "${WORKDIR}/txdrug-tar"
 
 inherit palmtop
@@ -14,11 +14,16 @@ do_configure_prepend() {
 EXTRA_QMAKEVARS_POST += "LIBS+=-lsqlite TARGET=txdrug"
 
 do_configure_prepend() {
-	rm -f Makefile && qmake -project
+        rm -f Makefile && qmake -project
 }
 
+do_configure_append() {
+        sed -i "s/\-I\/usr\/include\/sqlite\ //g" Makefile
+}
+
 do_install() {
         install -d ${D}${palmtopdir}
-	cp -Pfr `ls -dp ${WORKDIR}/${palmtopdir}/*|grep -v SCCS` ${D}${palmtopdir}/
+        cp -Pfr `ls -dp ${WORKDIR}/opt/QtPalmtop/*|grep -v SCCS` ${D}${palmtopdir}/
         install -D -m 755 txdrug ${D}${palmtopdir}/bin/txdrug
 }
+






More information about the Openembedded-commits mailing list