Hello, I'm attaching an ebuild for the spca50x drivers, which enable the use of a variety of cameras, such as the Intel PC Camera Pro. Please check the project's website for a full listing of supported cameras. These drivers only work with 2.4 kernels so far. Thus, I borrowed part of the media-video/nvidia-kernel ebuild to make it abort itself if /usr/src/linux does not point to a 2.4 kernel. I also included a one line patch to its Makefile to avoid a problem with the syntax of link flags (LDFLAGS). I'd suggest media-video/spca50x as a category for this package. It depends on virtual/linux-sources to build and install the spca50x.o module properly. Marcelo
Created attachment 23710 [details] the ebuild for the package
Created attachment 23711 [details] patch for the makefile
The kernel version checks look like copy+paste from check-kernel.eclass - could you please use "inherit check-kernel" instead?
Created attachment 25414 [details] Updated ebuild, using inherit check-kernel. Changed KEYWORDS to "-* ~x86".
Just noticed, copyright must be updated from 2003 to 2004 too, my bad.
Added with minor changes. Please make sure to use only tabs for indenting. Cut off the last part of the description since it is for many other cameras. Thank you for the ebuild.