/[gentoo-x86]/dev-ruby/coolio/coolio-1.1.0-r2.ebuild
Gentoo

Contents of /dev-ruby/coolio/coolio-1.1.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Apr 17 15:47:11 2012 UTC (2 years ago) by matsuu
Branch: MAIN
Added RESTRICT="test".

(Portage version: 2.1.10.54/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/coolio/coolio-1.1.0-r1.ebuild,v 1.1 2012/03/14 18:40:06 matsuu Exp $
4
5 EAPI="4"
6 # iobuffer: -jruby -rbx
7 USE_RUBY="ruby18 ruby19 ree18"
8 RUBY_FAKEGEM_TASK_TEST="spec"
9 RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
10 RUBY_FAKEGEM_NAME="cool.io"
11
12 inherit ruby-fakegem
13
14 MY_P="${RUBY_FAKEGEM_NAME}-${PV}"
15 DESCRIPTION="A high performance event framework for Ruby which uses the libev C library"
16 HOMEPAGE="http://coolio.github.com/"
17 SRC_URI="http://rubygems.org/downloads/${MY_P}.gem"
18
19 LICENSE="MIT"
20 SLOT="0"
21 KEYWORDS="~amd64 ~x86"
22 IUSE=""
23
24 DEPEND="dev-libs/libev"
25 RDEPEND="${DEPEND}"
26
27 RESTRICT="test" # need network
28
29 RUBY_PATCHES=( "${P}-libev.patch" "${P}-rubyio.patch" )
30
31 ruby_add_rdepend ">=dev-ruby/iobuffer-1"
32
33 all_ruby_prepare() {
34 rm -r Gemfile* ext/libev ext/cool.io/libev.c lib/.gitignore || die
35 }
36
37 each_ruby_compile() {
38 ${RUBY} -S rake compile || die
39 }

  ViewVC Help
Powered by ViewVC 1.1.20