Created attachment 339370 [details] pngquant 1.8.2 ebuild "pngquant is a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs." - http://pngquant.org/ This is my first ebuild. If something is missing/wrong please let me know.
emake install worked too after adjusting it. there was problems with CFLAGS and LDFLAGS, fixed in src_prepare now. CFLAGSOPT also caused problems, forced optimizations. missing CC so gcc was used directly, had to inherit toolchain-funcs.eclass to get 'tc-export CC' command which is essentially same as `export CC="${CHOST}-gcc`. EAPI should be latest, version 5. added subslotting to the lib deps. license wasn't BSD but first half of it was same as pngnq uses, second half something different, required committing own license file. and then some more :) look at the ebuild in portage and you'll see what was missing thanks for submitting -> in portage -> closing