From: | Michael Orlitzky <mjo@g.o> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Re: SRC_URISRC_URI.mirror | ||
Date: | Sat, 20 Sep 2014 18:28:49 | ||
Message-Id: | 541DC759.5000208@gentoo.org | ||
In Reply to: | [gentoo-user] Re: SRC_URISRC_URI.mirror by James |
1 | On 09/20/2014 02:08 PM, James wrote: |
2 | > Michael Orlitzky <mjo <at> gentoo.org> writes: |
3 | > |
4 | > |
5 | >>> MY_PV=${PV/_/} |
6 | > |
7 | >>> SRC_URI="http://www.apache.org/dist/spark/${PV}/${P}.tgz" |
8 | > |
9 | >> Because that's the wrong URL =) |
10 | > |
11 | > SRC_URI="http://www.apache.org/dist/spark/spark-1.1.0/${P}.tgz" |
12 | > |
13 | > Works. Is this correct? |
14 | > (sorry for being dense) |
15 | > |
16 | |
17 | Yes, and you can replace "spark-1.1.0" by ${P} in the path as well. The |
18 | link that Bryan posted has a list of all of the variables that are |
19 | available. You can go pretty crazy with some of them, but in this case |
20 | the only other thing I would replace is "spark" by ${PN}. |
Subject | Author |
---|---|
[gentoo-user] Re: SRC_URISRC_URI.mirror | James <wireless@×××××××××××.com> |