public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] download problem in ebuild
@ 2005-08-23  2:33 Nick Rout
  2005-08-23  2:38 ` Georgi Georgiev
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Nick Rout @ 2005-08-23  2:33 UTC (permalink / raw
  To: gentoo-dev

I am not sure how to deal with this problem.

Lost Labyrinth is a game I am trying to write an ebuild for. I am stuck
on downloading, which isn't very encouraging.

The URL to download the gane is:

http://laby.toybox.de/download15/

which redirects to the latest version of the file (currently
laby_1.0.1.tar.gz)

Unfortunately the redirect results in wget naming the file:

download2.php?fileid=15

which is where the pain starts!

wget does work ok if you use the -O optin like:

wget http://laby.toybox.de/download15/ -O laby_1.0.1.tar.gz

So, i am looking for a way to ensure that wget, when operated through
portage, will append the -O, or I am wondering if there is a way to
over-ride the default fetching behaviour in the ebuild itself, something
like:

DOWNLOAD_CMD="wget http://laby.toybox.de/download15/ -O
laby_$(P).tar.gz"


-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-08-24 11:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-23  2:33 [gentoo-dev] download problem in ebuild Nick Rout
2005-08-23  2:38 ` Georgi Georgiev
2005-08-23  5:02   ` Nick Rout
2005-08-23  2:39 ` Mike Frysinger
2005-08-23  2:41 ` Marius Mauch
2005-08-24  0:11   ` Nick Rout
2005-08-24  0:15     ` Brian Harring
2005-08-24  0:16     ` Mike Frysinger
2005-08-24  0:23     ` Chris Gianelloni
2005-08-24  0:34       ` Nick Rout
2005-08-24  0:38         ` Brian Harring
2005-08-24 11:49           ` Nick Rout

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox