summaryrefslogtreecommitdiff
blob: 8ab6b9b9322ecba4b5c018847d75c57aedbb825c (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.5.ebuild,v 1.8 2006/10/20 21:13:26 agriffis Exp $

inherit ruby

MY_P=${P}-all
DESCRIPTION="A LALR(1) parser generator for Ruby"
HOMEPAGE="http://www.loveruby.net/en/racc.html"
SRC_URI="http://www.loveruby.net/archive/racc/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ~ppc-macos ppc64 sparc ~x86"
USE_RUBY="ruby16 ruby18 ruby19"
IUSE=""
S="${WORKDIR}/${MY_P}"

DEPEND="|| ( >=dev-lang/ruby-1.8 dev-lang/ruby-cvs )"

src_install() {
	${RUBY} setup.rb install --prefix="${D}"
	erubydoc
}