# 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 }