/[gentoo-x86]/dev-ruby/jruby-openssl/jruby-openssl-0.7.7.ebuild
Gentoo

Contents of /dev-ruby/jruby-openssl/jruby-openssl-0.7.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Mar 12 05:22:18 2014 UTC (3 years, 7 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #503568

(Portage version: 2.2.8-r1/cvs/Linux i686, RepoMan options: --ignore-arches, signed Manifest commit with key 0x4F1A2555EA71991D!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/jruby-openssl/jruby-openssl-0.7.7.ebuild,v 1.2 2014/03/07 23:44:23 pacho Exp $
4
5 EAPI=4
6
7 USE_RUBY=jruby
8
9 RUBY_FAKEGEM_TASK_DOC="redocs"
10 RUBY_FAKEGEM_DOCDIR="doc"
11
12 inherit ruby-fakegem
13
14 DESCRIPTION="A Ruby SSL library that works with JRuby"
15 HOMEPAGE="http://rubyforge.org/projects/jruby-extras"
16
17 LICENSE="MIT || ( CPL-1.0 GPL-2 LGPL-2.1 )"
18 SLOT="0"
19 KEYWORDS="amd64 x86"
20 IUSE=""
21
22 RDEPEND="${RDEPEND} >=dev-java/jruby-1.5.6"
23 DEPEND="${DEPEND} >=dev-java/jruby-1.5.6"
24
25 ruby_add_bdepend "doc? ( dev-ruby/hoe )"
26 ruby_add_bdepend "test? ( dev-ruby/hoe dev-ruby/mocha )"
27
28 ruby_add_rdepend ">=dev-ruby/bouncy-castle-java-1.5.0146.1"
29
30 all_ruby_prepare() {
31 # Remove a test that only works with JCE installed.
32 sed -i -e 's/OpenSSL::OPENSSL_VERSION_NUMBER > 0x00907000/false/' test/test_cipher.rb || die
33
34 # Remove tests depending on a build_lib that is not shipped
35 rm test/test_java.rb || die
36 }

  ViewVC Help
Powered by ViewVC 1.1.20