From e6260fd41a7a49838254e0e7094f49f490c88e16 Mon Sep 17 00:00:00 2001 From: Andrea Postiglione Date: Sat, 5 Dec 2020 09:51:21 +0100 Subject: dev-ruby/thin: 1.8.0 bin wrapper and so build Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Andrea Postiglione --- dev-ruby/thin/thin-1.8.0.ebuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/dev-ruby/thin/thin-1.8.0.ebuild b/dev-ruby/thin/thin-1.8.0.ebuild index 73a6a76a1..c8c8ab1ae 100644 --- a/dev-ruby/thin/thin-1.8.0.ebuild +++ b/dev-ruby/thin/thin-1.8.0.ebuild @@ -21,3 +21,18 @@ DEPEND="dev-ruby/eventmachine RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +each_ruby_configure() { + ${RUBY} -Cext/thin_parser extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/thin_parser + cp ext/thin_parser/thin_parser.so lib/ || die +} + + + +all_ruby_install() { + ruby_fakegem_binwrapper thin +} -- cgit v1.2.3-65-gdbad