summaryrefslogtreecommitdiff
blob: 828ec3424e74b1f2737c81d058c6ed1eb7e5e343 (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-2010 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.1 2010/05/23 08:09:53 graaff Exp $

EAPI="2"
USE_RUBY="ruby18"

inherit ruby-ng

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=""

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
}