mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-28 09:40:59 +02:00
similar_text: handle ext properly
This commit is contained in:
parent
f6e410805a
commit
6f7c5b44bb
1 changed files with 3 additions and 11 deletions
|
|
@ -1,10 +1,11 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby30 ruby31 ruby32"
|
||||
|
||||
RUBY_FAKEGEM_EXTENSIONS=(ext/similar_text/extconf.rb)
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Calculate the similarity between two strings"
|
||||
|
|
@ -14,12 +15,3 @@ LICENSE="BSD"
|
|||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/${PN} extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext/${PN} V=1
|
||||
cp ext/${PN}/${PN}.so lib/
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue