mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-17 16:38:08 -07:00
This avoids eclass errors about supported implemenations while we wait for the removal of this masked package. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
54 lines
953 B
Bash
54 lines
953 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
USE_RUBY="ruby26 ruby27 ruby30 ruby31"
|
|
|
|
GITHUB_URI="https://github.com/Flameeyes/${PN}"
|
|
|
|
RUBY_FAKEGEM_RECIPE_TEST="none"
|
|
|
|
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
|
|
|
inherit ruby-fakegem
|
|
|
|
SRC_URI="${GITHUB_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
DESCRIPTION="Ruby library to access ELF files information"
|
|
HOMEPAGE="https://www.flameeyes.eu/projects/ruby-elf"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
IUSE="test"
|
|
|
|
ruby_add_bdepend "
|
|
test? ( dev-ruby/test-unit:2 )
|
|
dev-ruby/rake"
|
|
|
|
# for the man pages
|
|
DEPEND+="
|
|
dev-libs/libxslt
|
|
app-text/docbook-xsl-ns-stylesheets"
|
|
|
|
RDEPEND+="
|
|
virtual/man"
|
|
|
|
all_ruby_compile() {
|
|
# build the man pages
|
|
rake manpages || die "rake manpages failed"
|
|
}
|
|
|
|
each_ruby_test() {
|
|
ruby-ng_testrb-2 -Ilib test/test_*.rb
|
|
}
|
|
|
|
all_ruby_install() {
|
|
all_fakegem_install
|
|
|
|
doman manpages/*.1
|
|
dodoc DONATING README.md
|
|
}
|