Gentoo Archives: gentoo-dev

From: dnebinger@joat.com (Dave Nebinger)
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] How to create SRC_URI from messed-up URL?
Date: Thu, 29 Sep 2005 04:53:33
Message-Id: 20050929044636.96812ACC8@mail.joat.com
1 Hey, folks.
2
3 I'm trying to write an ebuild, not my first, but definitely something
4 that is relatively new to me.
5
6 Anyways, I've got the following URL that pulls down the source package:
7
8 http://www.fpdf.org/en/dl.php?v=153?f=tgz
9
10 The file that gets downloaded is fpdf153.tgz.
11
12 Well, that messed up dl.php?... stuff results in the file
13 /usr/portage/distfiles/dl.php?v=153?f=tgz rather than the fpdf153.tgz
14 that I need it to be called.
15
16 So how do I 'trick' portage into downloading the file from the given
17 link to the fpdf153.tgz file I want to have?
18
19 Or am I stuck with the fetch restriction and have the end-user download
20 the file manually?
21
22 TIA,
23
24 Dave
25
26 --
27 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] How to create SRC_URI from messed-up URL? Brian Harring <ferringb@g.o>