summaryrefslogtreecommitdiff
blob: e6934356cae28960460c51812784ef9b0305c651 (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/rand/rand-0.9.0.ebuild,v 1.1 2006/10/08 01:11:23 pclouds Exp $

inherit ruby

USE_RUBY="ruby18"

DESCRIPTION="A Ruby library for picking random elements and shuffling."
HOMEPAGE="http://chneukirchen.org/blog/static/projects/rand.html"
SRC_URI="http://chneukirchen.org/releases/${P}.tar.gz"

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

DEPEND=">=dev-lang/ruby-1.8.4"

src_unpack() {
	unpack ${A}
	cd ${P}
	[ -f install.rb ] && mv install.rb install.rb.bak
}