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/color-tools/color-tools-1.3.0-r1.ebuild

32 lines
918 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/color-tools/color-tools-1.3.0-r1.ebuild,v 1.5 2011/07/24 17:40:12 armin76 Exp $
EAPI=2
USE_RUBY="ruby18"
RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="Changelog README"
inherit ruby-fakegem
DESCRIPTION="Ruby library to provide RGB and CMYK colour support."
HOMEPAGE="http://ruby-pdf.rubyforge.org/color-tools/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ppc64 ~x86"
IUSE=""
all_ruby_prepare() {
# Provide a fake gemspec to support the version code in the Rakefile
echo "Gem::Specification.new{|s| s.version = '${PV}'}" > "${PN}.gemspec" || die
# Remove unsupported verbose task conditional
sed -i -e '/t.verbose/d' Rakefile || die
# Remove dependency that is unneeded for our purpose
sed -i -e '/minitar/d' Rakefile || die
}