diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2013-10-29 15:39:05 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2013-10-29 15:39:05 +0000 |
commit | e9034231b51f76a34aa6840484df4b846dd3f426 (patch) | |
tree | a6ec002bf11052b46763ce3679862543429d545b /dev-ruby/iobuffer | |
parent | Add Markus Oehme as proxied maintainer to metadata.xml. (diff) | |
download | historical-e9034231b51f76a34aa6840484df4b846dd3f426.tar.gz historical-e9034231b51f76a34aa6840484df4b846dd3f426.tar.bz2 historical-e9034231b51f76a34aa6840484df4b846dd3f426.zip |
Add ruby20 target.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/iobuffer')
-rw-r--r-- | dev-ruby/iobuffer/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/iobuffer/iobuffer-1.1.2-r3.ebuild | 42 |
2 files changed, 49 insertions, 2 deletions
diff --git a/dev-ruby/iobuffer/ChangeLog b/dev-ruby/iobuffer/ChangeLog index 9923e9d3239c..580bfa8781e2 100644 --- a/dev-ruby/iobuffer/ChangeLog +++ b/dev-ruby/iobuffer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/iobuffer -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/ChangeLog,v 1.12 2012/08/20 18:18:18 graaff Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/ChangeLog,v 1.13 2013/10/29 15:39:05 mrueg Exp $ + +*iobuffer-1.1.2-r3 (29 Oct 2013) + + 29 Oct 2013; Manuel Rüger <mrueg@gentoo.org> +iobuffer-1.1.2-r3.ebuild: + Add ruby20 target. 20 Aug 2012; Hans de Graaff <graaff@gentoo.org> -iobuffer-1.0.0.ebuild, -iobuffer-1.1.2-r1.ebuild: diff --git a/dev-ruby/iobuffer/iobuffer-1.1.2-r3.ebuild b/dev-ruby/iobuffer/iobuffer-1.1.2-r3.ebuild new file mode 100644 index 000000000000..cc7450f7a880 --- /dev/null +++ b/dev-ruby/iobuffer/iobuffer-1.1.2-r3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/iobuffer/iobuffer-1.1.2-r3.ebuild,v 1.1 2013/10/29 15:39:05 mrueg Exp $ + +EAPI=5 +# jruby: mkmf +# rbx: Kernel(Autoload)#allocate (method_missing) +USE_RUBY="ruby18 ruby19 ruby20" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit multilib ruby-fakegem + +GITHUB_USER="tarcieri" + +DESCRIPTION="IO::Buffer is a fast byte queue which is primarily intended for non-blocking I/O applications" +HOMEPAGE="http://github.com/tarcieri/iobuffer" +SRC_URI="http://github.com/${GITHUB_USER}/iobuffer/tarball/v${PV} -> ${PN}-git-${PV}.tgz" + +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~x86-macos" +SLOT="0" +IUSE="" + +RUBY_S="${GITHUB_USER}-${PN}-*" + +all_ruby_prepare() { + rm .rspec lib/.gitignore Gemfile* || die +} + +each_ruby_configure() { + ${RUBY} -C ext extconf.rb || die + sed -i -e "s/^ldflags = /ldflags = $\(LDFLAGS\) /" ext/Makefile || die +} + +each_ruby_compile() { + emake -C ext V=1 + cp ext/iobuffer_ext$(get_modname) lib/ || die +} |