summaryrefslogtreecommitdiff
path: root/packages/sugar/sugar-toolkit_0.82.1.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-16 11:51:08 +0200
committerKoen Kooi <koen@openembedded.org>2008-10-16 11:51:08 +0200
commit71e2574a3ecb625213d6aaa3e79890a59890d5f8 (patch)
tree54247bf5de1489af45ee15195e2b179c55a624d4 /packages/sugar/sugar-toolkit_0.82.1.bb
parent40ee53650e5ad82d9c279b02af3e2727442dee21 (diff)
sugar-toolkit: fix python detection
Diffstat (limited to 'packages/sugar/sugar-toolkit_0.82.1.bb')
-rw-r--r--packages/sugar/sugar-toolkit_0.82.1.bb11
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/sugar/sugar-toolkit_0.82.1.bb b/packages/sugar/sugar-toolkit_0.82.1.bb
index cbc6b781de..da897ffe47 100644
--- a/packages/sugar/sugar-toolkit_0.82.1.bb
+++ b/packages/sugar/sugar-toolkit_0.82.1.bb
@@ -1,12 +1,19 @@
DESCRIPTION = "Sugar toolkit"
LICENSE = "LGPLv2"
-
-DEPENDS = "python-pygtk libxml-parser-perl-native libxml2 gtk+"
+DEPENDS = "python python-pygtk libxml-parser-perl-native libxml2 gtk+"
SRC_URI = "http://dev.laptop.org/pub/sugar/sources/sugar-toolkit/sugar-toolkit-${PV}.tar.bz2"
inherit autotools distutils-base
+SRC_URI += "file://acinclude.m4"
+
+EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
+
+do_configure_prepend() {
+ install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
+}
+
AUTOTOOLS_STAGE_PKGCONFIG = "1"
do_stage() {