blob: 84b3e5f9c8288038fab38d71b4413b12cf4c3c1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fastthread/fastthread-1.0.7-r1.ebuild,v 1.2 2009/12/23 12:27:47 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_TASK_TEST="test"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG"
inherit ruby-fakegem
DESCRIPTION="Optimized replacement for thread.rb primitives"
HOMEPAGE="http://gemcutter.org/gems/fastthread"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
ruby_add_bdepend '>=dev-ruby/echoe-2.7.11'
ruby_add_bdepend test virtual/ruby-test-unit
all_ruby_prepare() {
sed -i -e 's|if Platform|if Echoe::Platform|' Rakefile || die
}
each_ruby_compile() {
${RUBY} -S rake compile || die "build failed"
}
|