summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/ruby-termios/ruby-termios-0.9.6.ebuild')
-rw-r--r--dev-ruby/ruby-termios/ruby-termios-0.9.6.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/ruby-termios/ruby-termios-0.9.6.ebuild b/dev-ruby/ruby-termios/ruby-termios-0.9.6.ebuild
new file mode 100644
index 000000000000..63e40c920a97
--- /dev/null
+++ b/dev-ruby/ruby-termios/ruby-termios-0.9.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-termios/ruby-termios-0.9.6.ebuild,v 1.1 2009/10/23 14:21:39 graaff Exp $
+
+EAPI=2
+
+RUBY_BUG_145222=yes
+inherit ruby eutils
+
+DESCRIPTION="A Ruby interface to termios"
+HOMEPAGE="http://arika.org/ruby/termios" # trailing / isn't needed
+SRC_URI="http://github.com/arika/ruby-termios/tarball/version_0_9_6 -> ${P}.tar.gz"
+LICENSE="Ruby"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE="examples"
+USE_RUBY="ruby18"
+
+S="${WORKDIR}/arika-${PN}-94fd9ac"
+
+src_test() {
+ ${RUBY} test/test0.rb
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog README termios.rd
+ use examples && docinto examples && dodoc examples/*
+}