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 <apel...@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.ja...@gmail.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to