mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-21 06:28:06 +02:00
31 lines
667 B
Bash
31 lines
667 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
|
|
|
|
RUBY_FAKEGEM_TASK_TEST=""
|
|
|
|
RUBY_FAKEGEM_EXTRADOC="HISTORY README README.euc"
|
|
|
|
RUBY_FAKEGEM_EXTENSIONS=(./extconf.rb)
|
|
|
|
inherit ruby-fakegem
|
|
|
|
DESCRIPTION="ruby shadow bindings"
|
|
HOMEPAGE="https://github.com/apalmblad/ruby-shadow"
|
|
|
|
LICENSE="|| ( public-domain Unlicense )"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${P}-ruby32.patch"
|
|
"${FILESDIR}/${P}-ruby32-taint.patch"
|
|
)
|
|
|
|
all_ruby_prepare() {
|
|
sed -e '16i$CFLAGS += ENV["CFLAGS"]' \
|
|
-i extconf.rb || die
|
|
}
|