diff --git a/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild index 709ab6488ce24..1b5f26979c9b6 100644 --- a/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild +++ b/dev-ruby/mecab-ruby/mecab-ruby-0.996-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -29,6 +29,11 @@ each_ruby_compile() { emake V=1 } +each_ruby_test() { + # Not a real test but rather a sample program. But it works as a quick smoke test + ${RUBY} -I.:lib test.rb || die +} + each_ruby_install() { emake DESTDIR="${D}" install }