Patch coming.
Created attachment 212299 [details, diff] Patch to respect CC and AR properly, various other QA stuff * No need to pass CC and AR to emake (or indeed inherit eutils). * Comment both out in Makefile instead. * Move sed to src_unpack() (could have picked src_prepare() too). * Remove unused (R)DEPEND. src_test() should be written to not only build test/parse but execute and check its return code as well. There's a CC/LDFLAGS ignorance problem there that I didn't go and fix. Basically both Makefiles suck and the sed scripts should probably be rewritten as a patch. :)
I wrote a patch for the makefile instead, moved to EAPI=2, disabled tests (since those are rather examples) and install tests as examples. Thanks.