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

Contents of /dev-ruby/gruff/gruff-0.3.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Oct 18 07:30:17 2012 UTC (20 months, 3 weeks ago) by graaff
Branch: MAIN
Version bump.

(Portage version: 2.1.11.9/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-r3.ebuild,v 1.1 2012/07/22 18:08:15 graaff Exp $
4
5 EAPI=4
6 USE_RUBY="ruby18 ruby19"
7
8 RUBY_FAKEGEM_TASK_DOC=""
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
23 DESCRIPTION="RMagick Implementation for JRuby"
24 HOMEPAGE="http://rubyforge.org/projects/gruff/"
25 #SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
26
27 LICENSE="MIT"
28 SLOT="0"
29 KEYWORDS="~amd64 ~x86 ~x86-macos"
30 IUSE=""
31
32 RUBY_PATCHES=(
33 ${PN}-0.3.6-spider.patch
34 )
35
36 # imagemagick is an indirect dependency through rmagick. However, for
37 # gruff to work properly imagemagick needs to be compiled with
38 # truetype support and this cannot be expressed in the rmagick
39 # dependency. Test also require imagemagick to have jpeg support.
40 DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,truetype] )"
41 RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]"
42
43 ruby_add_bdepend "test? ( dev-ruby/test-unit )"
44
45 each_ruby_test() {
46 ruby-ng_testrb-2 test/test_*.rb
47 }

  ViewVC Help
Powered by ViewVC 1.1.20