summaryrefslogtreecommitdiff
blob: af786c5042bdf32339ab67a24240edaa748c4ab5 (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
# Copyright 1999-2011 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-r1.ebuild,v 1.2 2011/06/13 10:13:58 graaff Exp $

EAPI="2"
USE_RUBY="ruby18"

inherit ruby-ng

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

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

each_ruby_test() {
	${RUBY} rand.rb || die "Unable to run tests."
}

each_ruby_install() {
	doruby rand.rb
}

all_ruby_install() {
	dodoc ChangeLog README
	dohtml -r html
}