summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-06-16 22:03:02 +0000
committerMichael Krelin <hacker@klever.net>2007-06-16 22:03:02 +0000
commit1f25670869fdf0014ad575f58e36b2a7c58847a8 (patch)
tree3e28309e7d2cf88cdacc2b790fd8432785b5c7de
parent9bb278ec49e82e77c2560996a998f1a22cec146d (diff)
intltool: cut the versioning in SRC_URI and close #2494
-rw-r--r--packages/intltool/intltool.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/intltool/intltool.inc b/packages/intltool/intltool.inc
index f4de1ff4aa..410a89cfa3 100644
--- a/packages/intltool/intltool.inc
+++ b/packages/intltool/intltool.inc
@@ -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