mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-15 04:33:38 +01:00
25 lines
480 B
Bash
25 lines
480 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
USE_RUBY="ruby25 ruby26 ruby27"
|
|
|
|
inherit ruby-fakegem
|
|
|
|
DESCRIPTION="Calculate the similarity between two strings"
|
|
HOMEPAGE="https://github.com/valcker/similar_text-ruby"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~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/
|
|
}
|