[SM-Users] How to specify sourceforge.net URL for source?
Eric Sandall
eric at sandall.us
Tue Mar 4 13:52:43 EST 2008
Quoting Javier Vasquez <jevv.cr at gmail.com>:
> On Thu, Feb 28, 2008 at 4:03 PM, hideaki naka
> <1091.569.212a at gmail.com> wrote:
>
>> > I want to write a spell for gphotofs [1], which I found missing, :)...
>> > Problem is that the downloads are offered through sourceforge.net,
>> > which offers different and dynamic mirrors for each download. I have
>> > no idea what to include as the source URL then.
>> >
>> > Any hints?
>> >
>> > ---------
>> > Javier.
>>
>> ** I sent you this mail directly because [SM-Users] list was moderated
>> ** and my reply to the list is waiting for approval by SMGL's admin ^^;
Sorry, we get lots of spam and I'm not always up to speed on
moderating the lists. :/
>> How about using this -->> SOURCE_URL=$SOURCEFORGE_URL/$SPELL/$SOURCE
>> An example is like
>> -------------------------------------------------
>> SPELL=zile
>> VERSION=2.2.56
>> SOURCE=$SPELL-$VERSION.tar.gz
>> SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
>> SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE <<<<<< like this
>> -------------------------------------------------
>> Or I am missing your point?
>
> Not at all. That's what I was looking for... So somehow
> $SOURCEFORGE_URL gets defined somewhere, :)... I'll try this later to
> see if I can make it work, and I'll also look for zile as an example,
> :).
>
> Thanks,
The defaults for these are defined in /etc/sorcery/url and may be
modified via the Sorcery tool. Mirrors for these URLs are defined
under /etc/sorcery/mirrors/.
-sandalle
--
Eric Sandall | Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | http://counter.li.org/ #196285
More information about the SM-Users
mailing list