aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorApelete Seketeli <apelete@seketeli.net>2013-03-14 10:45:10 +0100
committerApelete Seketeli <apelete@seketeli.net>2013-03-14 10:45:10 +0100
commiteeb28b0ec8649e185a2314ae49874486b793397c (patch)
treeeda1cad539dc29f6b9f2532113edfec83361f98e /recipes
parentff679935b073a89c4e407d259bcc2eea9148fb91 (diff)
downloadopenembedded-eeb28b0ec8649e185a2314ae49874486b793397c.tar.gz
gnutls: update SRC_URI
Update SRC_URI since the gnutls source packages were moved into a different directory on ftp.gnutls.org. Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/gnutls/gnutls.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/gnutls/gnutls.inc b/recipes/gnutls/gnutls.inc
index a8e1e0d720..d922840b41 100644
--- a/recipes/gnutls/gnutls.inc
+++ b/recipes/gnutls/gnutls.inc
@@ -8,7 +8,8 @@ LICENSE_${PN}-bin = "GPLv3+"
LICENSE_${PN}-extra = "GPLv3+"
LICENSE_${PN}-openssl = "GPLv3+"
-SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2;name=gnutls"
+SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
+SRC_URI = "ftp://ftp.gnutls.org/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar.bz2;name=gnutls"
inherit autotools binconfig pkgconfig gettext