summaryrefslogtreecommitdiff
blob: 03534b7ac7d1ac8a743f9bb191dfff15b1a77dd0 (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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/shim-ruby18/shim-ruby18-1.8.1_pre3.ebuild,v 1.1 2003/12/20 01:22:23 usata Exp $

inherit ruby

MY_P="shim-ruby16_18-${PV/_pre/-preview}"

DESCRIPTION="Set of packages that provide Ruby 1.8 features for Ruby 1.6"
HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=shim-ruby16_18"
SRC_URI="ftp://ftp.ruby-lang.org/pub/ruby/shim/${MY_P}.tar.bz2"

LICENSE="Ruby"
SLOT="0"
KEYWORDS="~x86"

IUSE=""
USE_RUBY="ruby16"

DEPEND="~dev-lang/ruby-1.6.8"
PROVIDE="dev-lang/ruby-${PV}
	dev-ruby/strscan
	dev-ruby/racc
	dev-ruby/optparse"

S="${WORKDIR}/shim/ruby16"

src_install() {

	einstall || die
	erubydoc
	dodoc ${WORKDIR}/shim/README
}