| 1 |
graaff |
1.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/gnuplot/gnuplot-2.4.1.ebuild,v 1.2 2012/07/01 18:31:45 armin76 Exp $ |
| 4 |
|
|
|
| 5 |
|
|
EAPI=4 |
| 6 |
|
|
USE_RUBY="ruby18 ruby19 ree18 jruby" |
| 7 |
|
|
|
| 8 |
|
|
RUBY_FAKEGEM_TASK_DOC="" |
| 9 |
|
|
RUBY_FAKEGEM_EXTRADOC="AUTHORS.txt ChangeLog README.textile" |
| 10 |
|
|
|
| 11 |
|
|
RUBY_FAKEGEM_TASK_TEST="" |
| 12 |
|
|
|
| 13 |
|
|
inherit ruby-fakegem |
| 14 |
|
|
|
| 15 |
|
|
DESCRIPTION="Gnuplot drawing library - Ruby Bindings" |
| 16 |
|
|
HOMEPAGE="http://rgplot.rubyforge.org/" |
| 17 |
|
|
|
| 18 |
|
|
LICENSE="BSD" |
| 19 |
|
|
KEYWORDS="~amd64 ~ppc ~x86" |
| 20 |
|
|
IUSE="test" |
| 21 |
|
|
SLOT="0" |
| 22 |
|
|
|
| 23 |
|
|
RDEPEND="${RDEPEND} sci-visualization/gnuplot" |
| 24 |
|
|
|
| 25 |
|
|
all_ruby_prepare() { |
| 26 |
|
|
# Existing metadata causes a crash in jruby, so use our own. |
| 27 |
|
|
rm ../metadata || die "Unable to remove metadata." |
| 28 |
|
|
} |
| 29 |
|
|
|
| 30 |
|
|
each_ruby_test() { |
| 31 |
|
|
${RUBY} -Ctest test_gnuplot.rb || die |
| 32 |
|
|
} |