diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-08-01 06:19:31 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-08-01 06:19:31 +0000 |
commit | 1d0b02d9e66c5f9f66be31984256243b404757c3 (patch) | |
tree | 24983d55615b9decf2d89879cffc43c9853e9112 /dev-ruby/ruby-serialport | |
parent | Version bump. Fixes security issue, bug #330481 (diff) | |
download | gentoo-2-1d0b02d9e66c5f9f66be31984256243b404757c3.tar.gz gentoo-2-1d0b02d9e66c5f9f66be31984256243b404757c3.tar.bz2 gentoo-2-1d0b02d9e66c5f9f66be31984256243b404757c3.zip |
Version bump.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ruby-serialport')
-rw-r--r-- | dev-ruby/ruby-serialport/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild | 52 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-ruby/ruby-serialport/ChangeLog b/dev-ruby/ruby-serialport/ChangeLog index 448a40a04eef..e88357465785 100644 --- a/dev-ruby/ruby-serialport/ChangeLog +++ b/dev-ruby/ruby-serialport/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/ruby-serialport # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog,v 1.16 2010/06/07 18:00:58 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ChangeLog,v 1.17 2010/08/01 06:19:31 graaff Exp $ + +*ruby-serialport-1.0.4 (01 Aug 2010) + + 01 Aug 2010; Hans de Graaff <graaff@gentoo.org> + +ruby-serialport-1.0.4.ebuild: + Version bump. 07 Jun 2010; Diego E. Pettenò <flameeyes@gentoo.org> ruby-serialport-1.0.3.ebuild, ruby-serialport-1.0.3-r1.ebuild: diff --git a/dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild b/dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild new file mode 100644 index 000000000000..6deaa17ea3a2 --- /dev/null +++ b/dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-serialport/ruby-serialport-1.0.4.ebuild,v 1.1 2010/08/01 06:19:31 graaff Exp $ + +EAPI="2" + +# jruby → uses native library +USE_RUBY="ruby18 ruby19" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README" + +RUBY_FAKEGEM_NAME=${PN/ruby-/} + +inherit ruby-fakegem + +DESCRIPTION="a library for serial port (rs232) access in ruby" +HOMEPAGE="http://rubyforge.org/projects/ruby-serialport/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ia64 ~ppc ~x86" +IUSE="" + +all_ruby_prepare() { + # Fix the miniterm script so that it might actually work, we'll + # install it as example. + sed -i -e 's:\.\./serialport.so:serialport:' test/miniterm.rb || die +} + +each_ruby_configure() { + cd ext/native + ${RUBY} extconf.rb || die +} + +each_ruby_compile() { + pushd ext/native &>/dev/null + emake || die + popd &>/dev/null + + # Avoids the need for a specific install phase + cp ext/native/*.so lib/ || die "extension copy failed" +} + +all_ruby_install() { + all_fakegem_install + + # don't compress it + insinto /usr/share/doc/${PF}/examples + doins test/miniterm.rb || die +} |