From 1f25670869fdf0014ad575f58e36b2a7c58847a8 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sat, 16 Jun 2007 22:03:02 +0000 Subject: intltool: cut the versioning in SRC_URI and close #2494 --- packages/intltool/intltool.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/intltool') 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 -- cgit v1.2.3