Please find attached a suggested ebuild for vncsnapshot [http://vncsnapshot.sourceforge.net]. Note that I am the author of vncsnapshot, so any bug reports on this little app can be directed straight to me <grin>
Created attachment 10249 [details] Suggested ebuild for vncsnapshot
where is the PATCHES variable defined?
There are no patches for this application. Does one have to set PATCHES="" in that case?
Added to cvs. Please take a look at the ebuild, as I had to make a lot of changes. Gentoo policy is that people should be able to use their own CFLAGS unless there is a compelling reason not to, so I added that functionality to the ebuild. I also removed the unnecessary PATCHES line. (Take a look at /usr/portage/skel.ebuild for a good example of how to write an ebuild, as well as the doc on gentoo.org.)
The ebuild looks wonderful, thank you. My apologies for the poor initial ebuild; I used the standard developer's practice of copying something else instead of looking for a template. I'll know better next time.