blob: 2e2d13fb598b90c2a7f2909890fdbd77d50b1e41 (
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
34
35
36
|
# Copyright 1999-2005 Gentoo Foundation
# 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-r1.ebuild,v 1.3 2005/04/20 17:04:10 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 ~sparc ppc"
IUSE=""
# don't define USE_RUBY since shim-ruby only supports ruby16
RUBY="/usr/bin/ruby16"
DEPEND="~dev-lang/ruby-1.6.8"
S="${WORKDIR}/shim/ruby16"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PN}-cgi-session.patch
}
src_install() {
einstall || die
erubydoc
dodoc ${WORKDIR}/shim/README
}
|