Please find attached the ubench-0.32.ebuild. Ubench is just another benchmark program. This is my first ebuild so go easy on me. Description: The Unix Benchmark Utility "ubench" provides a single measure of perfomance for machines running various flavors of Unix operating system. Ubench is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. The current development release tests only CPU(s) and memory. In the future releases there will be tests added for disk and TCP/IP. Ubench is taking advantage of multiple CPUs on an SMP system and the results will reflect that unless ubench has been invoked with '-s' flag.
Created attachment 77948 [details] ubench-0.32.ebuild
- GPL is not a valid license, please have a look at /usr/portage/licenses - don't hardcode the version number, use ${P} in both SRC_URI and S - dependencies look a bit broken. if there's nothing thean the base system, DEPEND="" suffices - looks like src_compile() is superfluous
cpubench.c: In function 'cpuload': cpubench.c:93: error: 'CLK_TCK' undeclared (first use in this function) cpubench.c:93: error: (Each undeclared identifier is reported only once cpubench.c:93: error: for each function it appears in.) Fails to build. Looks familiar, but I have no idea how to fix it. Patches welcome :)