/[gentoo-x86]/dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild
Gentoo

Contents of /dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Tue Aug 14 03:44:07 2012 UTC (10 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -9 lines
Port to rspec helper for testing. Drop bundler dependency.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 matsuu 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 flameeyes 1.4 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/iobuffer-1.1.2-r2.ebuild,v 1.3 2012/04/17 17:20:01 graaff Exp $
4 matsuu 1.1
5     EAPI="4"
6     # jruby: mkmf
7     # rbx: Kernel(Autoload)#allocate (method_missing)
8     USE_RUBY="ruby18 ruby19 ree18"
9    
10     RUBY_FAKEGEM_TASK_DOC=""
11     RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
12    
13 flameeyes 1.4 RUBY_FAKEGEM_RECIPE_TEST="rspec"
14 matsuu 1.1
15 graaff 1.3 inherit multilib ruby-fakegem
16 matsuu 1.1
17     GITHUB_USER="tarcieri"
18    
19     DESCRIPTION="IO::Buffer is a fast byte queue which is primarily intended for non-blocking I/O applications"
20     HOMEPAGE="http://github.com/tarcieri/iobuffer"
21     SRC_URI="http://github.com/${GITHUB_USER}/iobuffer/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
22    
23     LICENSE="MIT"
24     KEYWORDS="~amd64 ~x86 ~x86-macos"
25     SLOT="0"
26     IUSE=""
27    
28     RUBY_S="${GITHUB_USER}-${PN}-*"
29    
30     all_ruby_prepare() {
31 flameeyes 1.4 rm .rspec lib/.gitignore Gemfile* || die
32 matsuu 1.1 }
33    
34     each_ruby_configure() {
35 graaff 1.2 ${RUBY} -C ext extconf.rb || die
36     sed -i -e "s/^ldflags = /ldflags = $\(LDFLAGS\) /" ext/Makefile || die
37 matsuu 1.1 }
38    
39     each_ruby_compile() {
40     emake -C ext
41 graaff 1.3 cp ext/iobuffer_ext$(get_modname) lib/ || die
42 matsuu 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20