Gentoo Archives: gentoo-dev

From: Carsten Lohrke <carlo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Handling downloads from sourceforge in an ebuild
Date: Tue, 25 May 2004 21:18:28
Message-Id: 200405252318.11632.carlo@gentoo.org
In Reply to: [gentoo-dev] Handling downloads from sourceforge in an ebuild by Ajai Khattri
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Tuesday 25 May 2004 22:47, Ajai Khattri wrote:
5 > Just wondering how people handle projects hosted on sourceforge in an
6 > ebuild as far as downloading tarballs is concerned? When you download from
7 > sourceforge you are redirected to a page which allows you to select your
8 > nearest mirror. How could (should?) this be handled in an ebuild?
9
10
11 HOMEPAGE="http://<FOO>.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/<FOO>/${P}.tar.gz"
13
14 Have a look at /usr/portage/profiles/thirdpartymirrors for other supported
15 mirror lists. Often you don't want to search the standard mirrors, but only
16 the defined mirrors in SRC_URI. To achieve this, add
17
18 RESTRICT="nomirror"
19
20 to the ebuild.
21 -----BEGIN PGP SIGNATURE-----
22 Version: GnuPG v1.2.4 (GNU/Linux)
23
24 iD8DBQFAs7gSVwbzmvGLSW8RAgVZAJ9QpYTFepu4Xr6xK1kg8/lhdFjj0ACggXqK
25 Zc54orLDNrFrGNVIO3x7jYw=
26 =+rBt
27 -----END PGP SIGNATURE-----
28
29 --
30 gentoo-dev@g.o mailing list

Replies