summaryrefslogtreecommitdiff
blob: e4c1e30b7abae9b7c22ca406e365a3a651680f93 (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.2 2006/06/25 09:19:43 nigoro 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
}