toscoterm: fix building with latest git version
authorOtavio Salvador <otavio@ossystems.com.br>
Tue, 13 Jan 2009 13:55:49 +0000 (11:55 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 13 Jan 2009 14:09:24 +0000 (12:09 -0200)
It was failing to find gtk and to install the binary, making it
unavailable for the rootfs creation.

packages/toscoterm/toscoterm_git.bb

index fd9181d..9826c9e 100644 (file)
@@ -4,7 +4,7 @@ LICENSE = "GPLv3"
 DEPENDS = "vte"
 HOMEPAGE = "https://projetos.ossystems.com.br/projects/show/toscoterm"
 PV = "0.0+gitr${SRCREV}"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "git://projetos.ossystems.com.br/git/toscoterm.git;protocol=git"
 S = "${WORKDIR}/git"
@@ -12,6 +12,10 @@ S = "${WORKDIR}/git"
 do_compile() {
        oe_runmake \
                CC="${CC}" \
-               CFLAGS="${CFLAGS} `pkg-config --cflags gtk-2.0` `pkg-config --cflags vte`" \
+               CFLAGS="${CFLAGS} `pkg-config --cflags gtk+-2.0` `pkg-config --cflags vte`" \
                LDFLAGS="${LDFLAGS} `pkg-config --libs gtk+-2.0` `pkg-config --libs vte`"
 }
+
+do_install() {
+       oe_runmake PREFIX="/usr" DESTDIR="${D}" install
+}