On Saturday, September 20, 2014 18:08:30 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)
> 
> 
> James

See: http://devmanual.gentoo.org/ebuild-writing/variables/index.html

${PV} is only the version number, it doesn't include the package name.

- Bryan

Reply via email to