Hi Jimi,

On Tuesday, 18 July 2017 6:40:52 PM CEST Jimi Damon wrote:
> I have a recipe that I built for building jzmq, however one of the 
> issues I have is with the naming of the release files from the github site.
> 
> Unlike czmq which has downloads ( zip and tar.gz ) that are named 
> czmq-${PV}.tar.gz, the downloads from jzmq are just called v${PV}.tar.gz.
> 
> How can I rename this file upon download so that the filename is in fact 
> unique to this package ?

Use the downloadfilename parameter e.g. (made up URL):

SRC_URI = 
"http://github.com/jzmq/download/v${PV}.tar.gz;downloadfilename=${PN}-${PV}.tar.gz";

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to