diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-05-23 08:09:53 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-05-23 08:09:53 +0000 |
commit | 8a77247b5cd8bca5fc9bfb2b3c554af624f6a2d0 (patch) | |
tree | 1efc90d87ac89c6014c7eda20082acabaf6b7293 /dev-ruby/rand/rand-0.9.0-r1.ebuild | |
parent | Convert to ruby-fakegem. (diff) | |
download | gentoo-2-8a77247b5cd8bca5fc9bfb2b3c554af624f6a2d0.tar.gz gentoo-2-8a77247b5cd8bca5fc9bfb2b3c554af624f6a2d0.tar.bz2 gentoo-2-8a77247b5cd8bca5fc9bfb2b3c554af624f6a2d0.zip |
Convert to ruby-ng.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rand/rand-0.9.0-r1.ebuild')
-rw-r--r-- | dev-ruby/rand/rand-0.9.0-r1.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/rand/rand-0.9.0-r1.ebuild b/dev-ruby/rand/rand-0.9.0-r1.ebuild new file mode 100644 index 000000000000..828ec3424e74 --- /dev/null +++ b/dev-ruby/rand/rand-0.9.0-r1.ebuild @@ -0,0 +1,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 +} |