From: | Bryan Gardiner <bog@××××××.net> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Re: SRC_URISRC_URI.mirror | ||
Date: | Sat, 20 Sep 2014 18:19:27 | ||
Message-Id: | 2684089.UWtoGIgWlc@mion | ||
In Reply to: | [gentoo-user] Re: SRC_URISRC_URI.mirror by James |
1 | On Saturday, September 20, 2014 18:08:30 James wrote: |
2 | > Michael Orlitzky <mjo <at> gentoo.org> writes: |
3 | > > > MY_PV=${PV/_/} |
4 | > > > |
5 | > > > SRC_URI="http://www.apache.org/dist/spark/${PV}/${P}.tgz" |
6 | > > |
7 | > > Because that's the wrong URL =) |
8 | > |
9 | > SRC_URI="http://www.apache.org/dist/spark/spark-1.1.0/${P}.tgz" |
10 | > |
11 | > Works. Is this correct? |
12 | > (sorry for being dense) |
13 | > |
14 | > |
15 | > James |
16 | |
17 | See: http://devmanual.gentoo.org/ebuild-writing/variables/index.html |
18 | |
19 | ${PV} is only the version number, it doesn't include the package name. |
20 | |
21 | - Bryan |