Discussion:
[SM-Users] How to specify sourceforge.net URL for source?
Javier Vasquez
2008-02-28 20:21:21 UTC
Permalink
Hi,

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?

Thanks,
--
Javier


[1] http://www.gphoto.org/proj/gphotofs
Javier Vasquez
2008-02-28 22:16:05 UTC
Permalink
Post by Javier Vasquez
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 ^^;
And I'm sending to the list in case it's interesting to some one else,
:), thanks.
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,
--
Javier
Eric Sandall
2008-03-04 18:52:43 UTC
Permalink
On Thu, Feb 28, 2008 at 4:03 PM, hideaki naka
Post by Javier Vasquez
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
Continue reading on narkive:
Loading...