summaryrefslogtreecommitdiff
blob: 9901530b49664111d5db8a6ac7123387533d446b (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IO-Reactor/IO-Reactor-1.0.4.ebuild,v 1.1 2010/01/16 18:22:05 graaff Exp $

EAPI="2"
USE_RUBY="ruby18"

RUBY_FAKEGEM_DOCDIR="docs/html"
RUBY_FAKEGEM_EXTRADOC="ChangeLog README"

inherit ruby-fakegem

MY_P="io-reactor-${PV}"

DESCRIPTION="IO Reactor for event-driven multiplexed IO in a single thread"
HOMEPAGE="http://www.deveiate.org/projects/IO-Reactor/"
SRC_URI="mirror://rubygems/${MY_P}.gem"

LICENSE="Ruby"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86-fbsd ~x86"
IUSE="examples"

ruby_add_bdepend test dev-ruby/rspec

all_ruby_install() {
	all_fakegem_install

	if use examples ; then
		insinto /usr/share/doc/${PF}/examples
		doins examples/*
	fi
}