summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2008-12-06 16:48:41 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2008-12-06 16:48:41 +0100
commit39330dba959eb6307bb9489b4f89b2d5057e7158 (patch)
tree5412a1fe0089df292774b319be81ce1d9c840639
parent5c54311aa585c9db1335d9666df2527a1e852df9 (diff)
toscoterm: make it compile for the target and add SRCREV entry
-rw-r--r--conf/distro/include/sane-srcrevs.inc1
-rw-r--r--packages/toscoterm/toscoterm_git.bb12
2 files changed, 9 insertions, 4 deletions
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc
index fda3f4b36a..58ed87f94f 100644
--- a/conf/distro/include/sane-srcrevs.inc
+++ b/conf/distro/include/sane-srcrevs.inc
@@ -205,6 +205,7 @@ SRCREV_pn-starling ?= "9574"
SRCREV_pn-table ?= "2191"
SRCREV_pn-tichy ?= "ab68d849502009cf3214df48ffa8075a10cc2177"
SRCREV_pn-tmut ?= "60"
+SRCREV_pn-toscoterm ?= "52bf31309b6cc5f669f4cab3b1f04d491c2680c7"
SRCREV_pn-u-boot-openmoko ?= "650149a53dbdd48bf6dfef90930c8ab182adb512"
SRCREV_pn-u-boot-openmoko-devel ?= "ba029a1426bfca169572bf80d50a8b190a6b0e19"
SRCREV_pn-uclibc ?= "24279"
diff --git a/packages/toscoterm/toscoterm_git.bb b/packages/toscoterm/toscoterm_git.bb
index a8e5fb8c2f..fd9181d0a0 100644
--- a/packages/toscoterm/toscoterm_git.bb
+++ b/packages/toscoterm/toscoterm_git.bb
@@ -3,11 +3,15 @@ SECTION = "x11/applications"
LICENSE = "GPLv3"
DEPENDS = "vte"
HOMEPAGE = "https://projetos.ossystems.com.br/projects/show/toscoterm"
-PV = "0.0+git${SRCDATE}"
-PR = "r1"
+PV = "0.0+gitr${SRCREV}"
+PR = "r2"
SRC_URI = "git://projetos.ossystems.com.br/git/toscoterm.git;protocol=git"
-
S = "${WORKDIR}/git"
-inherit autotools
+do_compile() {
+ oe_runmake \
+ CC="${CC}" \
+ CFLAGS="${CFLAGS} `pkg-config --cflags gtk-2.0` `pkg-config --cflags vte`" \
+ LDFLAGS="${LDFLAGS} `pkg-config --libs gtk+-2.0` `pkg-config --libs vte`"
+}