summaryrefslogtreecommitdiff
path: root/packages/python/python-pygtk_2.6.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python/python-pygtk_2.6.3.bb')
-rw-r--r--packages/python/python-pygtk_2.6.3.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/python/python-pygtk_2.6.3.bb b/packages/python/python-pygtk_2.6.3.bb
index ae6b7d131e..7856e196e2 100644
--- a/packages/python/python-pygtk_2.6.3.bb
+++ b/packages/python/python-pygtk_2.6.3.bb
@@ -6,7 +6,8 @@ SRCNAME = "pygtk"
LICENSE = "LGPL"
PR = "ml0"
-SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.6/${SRCNAME}-${PV}.tar.bz2 \
+MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
+SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2 \
file://acinclude.m4"
S = "${WORKDIR}/${SRCNAME}-${PV}"