On 09/20/2014 02:08 PM, James wrote:
> Michael Orlitzky <mjo <at> gentoo.org> writes:
> 
> 
>>> MY_PV=${PV/_/}
> 
>>> SRC_URI="http://www.apache.org/dist/spark/${PV}/${P}.tgz"; 
> 
>> Because that's the wrong URL =)
> 
> SRC_URI="http://www.apache.org/dist/spark/spark-1.1.0/${P}.tgz"; 
> 
> Works. Is this correct?
> (sorry for being dense)
> 

Yes, and you can replace "spark-1.1.0" by ${P} in the path as well. The
link that Bryan posted has a list of all of the variables that are
available. You can go pretty crazy with some of them, but in this case
the only other thing I would replace is "spark" by ${PN}.


Reply via email to