# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/shorturl/shorturl-1.0.0.ebuild,v 1.3 2013/09/14 10:06:01 ago Exp $ EAPI=5 USE_RUBY="ruby18 ruby19 jruby" RUBY_FAKEGEM_TASK_TEST="" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="ChangeLog.txt README.rdoc TODO.rdoc" inherit ruby-fakegem eutils DESCRIPTION="A very simple library to use URL shortening services such as TinyURL or RubyURL." HOMEPAGE="http://shorturl.rubyforge.org/" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~ppc x86 ~x86-fbsd ~x86-macos" IUSE="" each_ruby_test() { ${RUBY} -Ilib:test test/ts_all.rb || die "tests failed" } all_ruby_install() { all_fakegem_install pushd doc &>/dev/null dohtml -r . || die popd &>/dev/null }