commit: e6260fd41a7a49838254e0e7094f49f490c88e16
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
AuthorDate: Sat Dec 5 08:51:21 2020 +0000
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
CommitDate: Sat Dec 5 08:51:21 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e6260fd4
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 <andrea.postiglione <AT> gmail.com>
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 73a6a76a..c8c8ab1a 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
+}