1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2025-12-28 01:12:33 +01:00

Added stfl library.

Since it will be removed from the portage, because of the breakage on
the latest python version, I've added "new" ebuild, which removes all
the bindings from it, just to not have to deal with it in the future.
The only application which is depending on this lib is newsboat, which
as far as I can tell, doesn't use the bindings.
This commit is contained in:
2020-04-20 13:08:55 +02:00
parent 2550d9e93b
commit 4f68a3a5fb
7 changed files with 274 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
--- stfl-0.22/ruby/Makefile.snippet.orig
+++ stfl-0.22/ruby/Makefile.snippet
@@ -23,9 +23,9 @@
install: install_ruby
-ruby/build_ok: libstfl.a stfl.h ruby/stfl.i swig/*.i
+ruby/build_ok: libstfl.so.$(VERSION) stfl.h ruby/stfl.i swig/*.i
cd ruby && swig -ruby stfl.i && ruby extconf.rb
- $(MAKE) -C ruby clean && $(MAKE) -C ruby LIBS+="../libstfl.a -lncursesw" CFLAGS+="-pthread -I.." DLDFLAGS+="-pthread" DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir=$(prefix)/$(libdir)/ruby
+ $(MAKE) -C ruby clean && $(MAKE) -C ruby LIBS+="../libstfl.so.$(VERSION) -lncursesw" CFLAGS+="-pthread -I.." DLDFLAGS+="-pthread" DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir=$(prefix)/$(libdir)/ruby
touch ruby/build_ok
install_ruby: ruby/build_ok