[oe] [2011.03-maintenance][PATCH v2 1/2] gnutls: update SRC_URI

Martin Jansa martin.jansa at gmail.com
Wed Mar 13 17:04:47 UTC 2013


On Sat, Mar 09, 2013 at 08:54:24PM +0100, Apelete Seketeli wrote:
> Le 09-Mar-13, Khem Raj a écrit:
> > 
> > On Mar 9, 2013, at 4:38 AM, Apelete Seketeli <apelete at seketeli.net> wrote:
> > 
> > > -SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2;name=gnutls"
> > > +SRC_URI = "ftp://ftp.gnutls.org/gcrypt/gnutls/v2.10/gnutls-${PV}.tar.bz2;name=gnutls"
> > 
> > can we use PV instead of 2.10 ? if not then move SRC_URI out of .inc into .bb
> 
> PV is actually 2.10.4 here, it can't be used instead of 2.10 it seems.
> I'll move SRC_URI into .bb then.

In couple of recipes we're using:
SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
SRC_URI = "http://download.gnome.org/sources/${PN}/${SHRT_VER}/${PN}-${PV}.tar.gz"

This could be applied here too.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20130313/06778cfc/attachment-0002.sig>


More information about the Openembedded-devel mailing list