STFL is a library which implements a curses-based widget set for text terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby. This library is a dependency of the "newsbeuter" feed reader (http://synflood.at/newsbeuter.html). I'll write an ebuild for newsbeuter tomorrow. This is not my first ebuild, but there can be errors in it nevertheless. I'm especially unsure wheter dev-libs is the correct category and whether the ebuild should be called stfl or libstfl. Also, the "examples" installation procedure is a bit ugly because I couldn't figure out how to use doins with sub-directories. I've tested the ebuild, of course, and it works like a charm. Any suggestions and comments are welcome.
Created attachment 116557 [details] stfl-0.8.ebuild My ebuild proposal.
Created attachment 116577 [details] Improved stfl ebuild I'll take this, as newsbeuter (I'll take that as well) seems to be a really nice newsreader. Attaching improved ebuild, which adds correct deps, as well as some sed tweaks to keep sandbox happy. Please give it a try and comment/improve.
There's an "if use swig" section, but swig is not in IUSE. Maybe you should install the swig examples "if use perl || use python"? Otherwise it seems to work fine.
(In reply to comment #3) > There's an "if use swig" section, but swig is not in IUSE. Maybe you should > install the swig examples "if use perl || use python"? Yes, this was there before I realized that swig is merely used to build bindings for python/perl/ruby, and I forgot to remove it. Files in that subdir do not need to be installed. > Otherwise it seems to work fine. > Great, I'll commit it then. One thing I'd like to do, though, is to tweak Makefile so that bindings are not built if a relevant USE flag is disabled. Currently, for example ruby bindings are built if ruby is installed, even if you have USE="-ruby".
Committed. I have also changed ebuild to only install example.* from perl/python/ruby subdirs, as other files from there are only used for building the bindings. Thanks for the contribution!