/[gentoo-x86]/dev-ruby/gruff/gruff-0.3.6-r3.ebuild
Gentoo

Contents of /dev-ruby/gruff/gruff-0.3.6-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jul 22 18:08:15 2012 UTC (23 months, 2 weeks ago) by graaff
Branch: MAIN
Add division by zero error fix from upstream.

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/gruff/gruff-0.3.6-r2.ebuild,v 1.2 2012/05/01 18:24:05 armin76 Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19"
7
8 RUBY_FAKEGEM_TASK_DOC="docs"
9
10 RUBY_FAKEGEM_DOCDIR="doc"
11 RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt"
12
13 RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators"
14
15 inherit ruby-fakegem
16
17 ruby_add_rdepend '>=dev-ruby/rmagick-2'
18 ruby_add_bdepend "
19 test? (
20 dev-ruby/hoe
21 )
22 doc? ( dev-ruby/hoe )"
23
24 DESCRIPTION="RMagick Implementation for JRuby"
25 HOMEPAGE="http://rubyforge.org/projects/gruff/"
26 SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
27
28 LICENSE="MIT"
29 SLOT="0"
30 KEYWORDS="~amd64 ~x86 ~x86-macos"
31 IUSE=""
32
33 RUBY_PATCHES=(
34 ${P}-sort-filenames.patch
35 ${P}-fix-tests.patch
36 ${P}-spider.patch
37 ${P}-zero-division.patch
38 )
39
40 # imagemagick is an indirect dependency through rmagick. However, for
41 # gruff to work properly imagemagick needs to be compiled with
42 # truetype support and this cannot be expressed in the rmagick
43 # dependency. Test also require imagemagick to have jpeg support.
44 DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,truetype] )"
45 RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]"

  ViewVC Help
Powered by ViewVC 1.1.20