Unix Technical Forum

SRC_URI seems to be ignored in a homemade ebuild

This is a discussion on SRC_URI seems to be ignored in a homemade ebuild within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hello, I'm new to writing ebuilds but would like to get in to it. At the moment I am ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 11:07 AM
Leif Burrow
 
Posts: n/a
Default SRC_URI seems to be ignored in a homemade ebuild

Hello,

I'm new to writing ebuilds but would like to get in to it. At the moment I
am trying to write an ebuild for soundmodem. Unfortunately I'm runing in
to a problem. I have the line
SRC_URI="http://www.baycom.org/~tom/ham/soundmodem/soundmodem-${P}.tar.gz"
in my ebuild. The filename is soundmodem-0.9.ebuild, I have it
in /usr/local/portage/media-radio/soundmodem. I also created a files
subdir inside of soundmodem. I have PORTDIR_OVERLAY="/usr/local/portage" in
my make.conf file.

When I try to create a digest by typing
(ebuild /usr/local/portage/media-radio/soundmodem/soundmodem-0.9.ebuild
digest) it tries to download soundmodem-0.9.tar.gz but not from the domain
I have in the SRC_URI. It is trying to download it from the portage
mirrors.

I have played with it all night long but cannot figure out why this is
happening.

TIA for any help!

Leif
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 11:07 AM
Anno v. Heimburg
 
Posts: n/a
Default Re: SRC_URI seems to be ignored in a homemade ebuild

Leif Burrow wrote:


> SRC_URI="http://www.baycom.org/~tom/ham/soundmodem/soundmodem-${P}.tar.gz"


Are you sure you want that? ${P} expands to package name and version, so the
file you are specifying is

http://www.baycom.org/~tom/ham/sound...dem-0.9.tar.gz

Anno.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:48 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com