From: Nick Rout <nick@rout.co.nz>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] download problem in ebuild
Date: Tue, 23 Aug 2005 14:33:52 +1200 [thread overview]
Message-ID: <20050823142559.B332.NICK@rout.co.nz> (raw)
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
next reply other threads:[~2005-08-23 2:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-23 2:33 Nick Rout [this message]
2005-08-23 2:38 ` [gentoo-dev] download problem in ebuild 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050823142559.B332.NICK@rout.co.nz \
--to=nick@rout.co.nz \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox