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@gmail.com>
This commit is contained in:
Andrea Postiglione
2020-12-05 09:51:21 +01:00
parent a28d78202e
commit e6260fd41a

View File

@@ -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
}