]> git.openpandora.org Git - openembedded.git/commitdiff
intltool: cut the versioning in SRC_URI and close #2494
authorMichael Krelin <hacker@klever.net>
Sat, 16 Jun 2007 22:03:02 +0000 (22:03 +0000)
committerMichael Krelin <hacker@klever.net>
Sat, 16 Jun 2007 22:03:02 +0000 (22:03 +0000)
packages/intltool/intltool.inc

index f4de1ff4aa2dca0b7f1d597fcca02364ddca1fdd..410a89cfa3d71384c38d691214ffda5f6f2e83ff 100644 (file)
@@ -3,7 +3,8 @@ PRIORITY = "optional"
 SECTION = "devel"
 LICENSE = "GPL"
 
-SRC_URI = "${GNOME_MIRROR}/intltool/${PV}/intltool-${PV}.tar.bz2"
+URLV="${@'.'.join(bb.data.getVar('PV',d,1).split('.')[0:2])}"
+SRC_URI = "${GNOME_MIRROR}/intltool/${URLV}/intltool-${PV}.tar.bz2"
 S = "${WORKDIR}/intltool-${PV}"
 
 inherit autotools  pkgconfig