What follows is my ebuild of msetimon, a GUI utility for monitoring the SETI@Home client. It's written in Perl, using Perl-TK. Please note, that the program currently has problems with displaying it's "Properties" window when run under fluxbox/blackbox, but other then that, it's fully functional.
Created attachment 2822 [details] [New Package]: msetimon-2.07.ebuild I propose "x11-misc/msetimon" for this.
SLOT and KEYWORDS tags are missing.. please add them.. and for SRC_URI you should use mirror://sourceforge/msetimon/${NAME}-perl-source-2-07.tar.gz instead of the three addresses.. regards sascha
I stumbled across a very bizarre problem when fixing SRC_URL. When I am using the "old version" of SRC_URL, which provides 3 URLs, everthing works fine. Yet, when I change the SRC_URL to SRC_URL="mirror://sourceforge/msetimon/${NAME}-perl-source-2-07.tar.gz", the emerge fails with the following error: ---------------------------------------------------------------------- Calculating dependencies ...done! >>> emerge x11-misc/msetimon-2.07 to / >>> Unpacking source... >>> Source unpacked. >>> Install msetimon-2.07 into /var/tmp/portage/msetimon-2.07/image/ category x11-misc mv: cannot stat `/var/tmp/portage/msetimon-2.07/work/msetimon-perl-source-2-07/msetimon.pl': No such file or directory install: cannot stat `msetimon': No such file or directory !!! ERROR: The ebuild did not complete successfully. !!! Function src_install, Line -317, Exitcode 1 !!! install failed !!! emerge aborting on /usr/portage/x11-misc/msetimon/msetimon-2.07.ebuild . ---------------------------------------------------------------------- The most bizarre thing is, that when SRC_URL is set to mirror://sourceforge/msetimon/${NAME}-perl-source-2-07.tar.gz, the ebuild fails that way even though it never even TRIES to download the actual file. How it is possible for emerge to attempt compiling/installing the program when the distfile is not downloaded, is beyond me :o)
Created attachment 2849 [details] Updated working ebuild with OLD SRC_URL value.
Created attachment 2850 [details] Updated non-working ebuild with a new "proper" SRC_URL. Anyone care to explain why this one behaves so weirdly ? :o)
Pardon me, I clearly need more sleep. Problem fixed. Dumb me. Completely working and "correct" ebuild follows below.
Created attachment 2851 [details] fixed ebuild (finally) This one obsoletes all previous attachments.
the final ebuild works fine, so i put it in the cvs-tree... thanks for your contribution