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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| ||||
| 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. |