Created attachment 307229 [details] ebuild.patch I propose the following diff to the ebuild for primegen. It adds a sharedlib use flag that additionally builds a shared library. Since djb already writes about not having an so, i doubt it's worth asking upstream. He surely considered and decided against the option. It would nevertheless be really handy to have a shared lib and creating it is easy. My motivation for this change was the plan to write a python wrapper for which a shared object library is mandatory. Hope my ebuild isn't too bad, i've never done that before.
Created attachment 307231 [details] makefile patch The patch for the makefile referenced in the ebuild.
Dear Max, if you are still interested in having a shared object library for primegen, then please join GitHub, fork the science-overlay and integrate your patch and send us a Pull Request.