mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-01-16 21:23:28 +01:00
25 lines
490 B
Bash
25 lines
490 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
USE_RUBY="ruby21 ruby22 ruby23 ruby24"
|
|
|
|
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/
|
|
}
|