Gentoo Archives: gentoo-dev

From: Jon Portnoy <avenj@g.o>
To: Carsten Lohrke <carlo@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Handling downloads from sourceforge in an ebuild
Date: Tue, 25 May 2004 21:38:44
Message-Id: 20040525213836.GA8027@cerberus.oppresses.us
In Reply to: Re: [gentoo-dev] Handling downloads from sourceforge in an ebuild by Carsten Lohrke
1 On Tue, May 25, 2004 at 11:17:55PM +0200, Carsten Lohrke wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > On Tuesday 25 May 2004 22:47, Ajai Khattri wrote:
6 > > Just wondering how people handle projects hosted on sourceforge in an
7 > > ebuild as far as downloading tarballs is concerned? When you download from
8 > > sourceforge you are redirected to a page which allows you to select your
9 > > nearest mirror. How could (should?) this be handled in an ebuild?
10 >
11 >
12 > HOMEPAGE="http://<FOO>.sourceforge.net/"
13 > SRC_URI="mirror://sourceforge/<FOO>/${P}.tar.gz"
14 >
15 > Have a look at /usr/portage/profiles/thirdpartymirrors for other supported
16 > mirror lists. Often you don't want to search the standard mirrors, but only
17 > the defined mirrors in SRC_URI. To achieve this, add
18 >
19 > RESTRICT="nomirror"
20 >
21 > to the ebuild.
22
23 Just use RESTRICT=nomirror when the file is massive (many hundreds of
24 megabytes) or we're legally prohibited from redistributing it.
25
26 --
27 Jon Portnoy
28 avenj/irc.freenode.net
29
30 --
31 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Handling downloads from sourceforge in an ebuild Carsten Lohrke <carlo@g.o>