Gentoo Archives: gentoo-user

From: "Jc García" <jyo.garcia@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: SRC_URISRC_URI.mirror
Date: Sat, 20 Sep 2014 18:27:43
Message-Id: CAGQH77eKyzQPMCJ1Kk7SvQOaqCOhZAf72nHaBDR243Km-8w2Vg@mail.gmail.com
In Reply to: [gentoo-user] Re: SRC_URISRC_URI.mirror by James
1 2014-09-20 12:08 GMT-06:00 James <wireless@×××××××××××.com>:
2 >
3 > Michael Orlitzky <mjo <at> gentoo.org> writes:
4 >
5 >
6 > > > MY_PV=${PV/_/}
7 >
8 > > > SRC_URI="http://www.apache.org/dist/spark/${PV}/${P}.tgz"
9 >
10 > > Because that's the wrong URL =)
11 >
12 > SRC_URI="http://www.apache.org/dist/spark/spark-1.1.0/${P}.tgz"
13 >
14
15 If you want to build the URI with the ebuild environment variables, it would be:
16 SRC_URI="http://apache.org/dist/${PN}/${P}/${P}.tgz"
17
18 > Works. Is this correct?
19 > (sorry for being dense)
20 >
21 >
22 > James
23 >
24 >
25 >
26 >