/[gentoo-x86]/eclass/ruby-ng.eclass
Gentoo

Diff of /eclass/ruby-ng.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.38 Revision 1.40
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.38 2011/07/22 09:41:17 graaff Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.40 2011/10/05 17:46:20 graaff Exp $
4# 4
5# @ECLASS: ruby-ng.eclass 5# @ECLASS: ruby-ng.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Ruby herd <ruby@gentoo.org> 7# Ruby herd <ruby@gentoo.org>
8# 8# @AUTHOR:
9# Author: Diego E. Pettenò <flameeyes@gentoo.org> 9# Author: Diego E. Pettenò <flameeyes@gentoo.org>
10#
11# Author: Alex Legler <a3li@gentoo.org> 10# Author: Alex Legler <a3li@gentoo.org>
12#
13# Author: Hans de Graaff <graaff@gentoo.org> 11# Author: Hans de Graaff <graaff@gentoo.org>
14#
15# @BLURB: An eclass for installing Ruby packages with proper support for multiple Ruby slots. 12# @BLURB: An eclass for installing Ruby packages with proper support for multiple Ruby slots.
16# @DESCRIPTION: 13# @DESCRIPTION:
17# The Ruby eclass is designed to allow an easier installation of Ruby packages 14# The Ruby eclass is designed to allow an easier installation of Ruby packages
18# and their incorporation into the Gentoo Linux system. 15# and their incorporation into the Gentoo Linux system.
19# 16#
69# is linked against libruby. There are cases were this is not the case 66# is linked against libruby. There are cases were this is not the case
70# and the shared object is generic code to be used in some other way 67# and the shared object is generic code to be used in some other way
71# (e.g. selenium's firefox driver extension). When set this argument is 68# (e.g. selenium's firefox driver extension). When set this argument is
72# passed to "grep -E" to remove reporting of these shared objects. 69# passed to "grep -E" to remove reporting of these shared objects.
73 70
74inherit eutils toolchain-funcs 71inherit eutils java-utils-2 toolchain-funcs
75 72
76EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install pkg_setup 73EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_install pkg_setup
77 74
78case ${EAPI} in 75case ${EAPI} in
79 0|1) 76 0|1)
395ruby-ng_pkg_setup() { 392ruby-ng_pkg_setup() {
396 # This only checks that at least one implementation is present 393 # This only checks that at least one implementation is present
397 # before doing anything; by leaving the parameters empty we know 394 # before doing anything; by leaving the parameters empty we know
398 # it's a special case. 395 # it's a special case.
399 _ruby_each_implementation 396 _ruby_each_implementation
397
398 use ruby_targets_jruby && java-pkg_setup-vm
400} 399}
401 400
402# @FUNCTION: ruby-ng_src_unpack 401# @FUNCTION: ruby-ng_src_unpack
403# @DESCRIPTION: 402# @DESCRIPTION:
404# Unpack the source archive. 403# Unpack the source archive.

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.40

  ViewVC Help
Powered by ViewVC 1.1.20