blob: 352f78d240fe3d04cbd4ce86a610e61fd82beeac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2006 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.4.ebuild,v 1.14 2006/03/21 12:52:54 caleb Exp $
inherit ruby eutils
DESCRIPTION="A Ruby interface to termios"
HOMEPAGE="http://arika.org/ruby/termios" # trailing / isn't needed
SRC_URI="http://arika.org/archive/${P}.tar.gz"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="alpha ~amd64 ~hppa ia64 ~mips ~ppc ~sparc x86"
IUSE=""
USE_RUBY="ruby16 ruby18 ruby19"
DEPEND="virtual/ruby"
src_unpack()
{
unpack ${A}
epatch ${FILESDIR}/ruby-termios-ruby19.patch
}
src_compile() {
ruby extconf.rb || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc ChangeLog README termios.rd
docinto examples
dodoc examples/*
}
|