You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ruby/text-hyphen/text-hyphen-1.0.0-r2.ebuild

34 lines
916 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/text-hyphen/text-hyphen-1.0.0-r2.ebuild,v 1.12 2012/10/28 17:22:45 armin76 Exp $
EAPI=2
USE_RUBY="ruby18 ree18 jruby"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="README Changelog"
inherit ruby-fakegem eutils
DESCRIPTION="Hyphenates various words according to the rules of the language the word is written in."
HOMEPAGE="http://rubyforge.org/projects/text-format"
SRC_URI="mirror://rubyforge/text-format/${P}.tar.gz"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-solaris"
IUSE=""
ruby_add_bdepend "
test? (
dev-ruby/archive-tar-minitar
virtual/ruby-test-unit
)"
all_ruby_prepare() {
# Fix rakefile for new rake versions
sed -i -e 's: if t\.verbose::' Rakefile || die
epatch "${FILESDIR}/${P}+ruby-1.9.patch"
}