/[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.36 Revision 1.37
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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.36 2011/07/22 09:08:59 graaff Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.37 2011/07/22 09:10:22 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#
253 253
254 local dependency=$(_ruby_atoms_samelib "$1") 254 local dependency=$(_ruby_atoms_samelib "$1")
255 255
256 DEPEND="${DEPEND} $dependency" 256 DEPEND="${DEPEND} $dependency"
257 RDEPEND="${RDEPEND}" 257 RDEPEND="${RDEPEND}"
258}
259
260# @FUNCTION: ruby_get_use_implementations
261# @DESCRIPTION:
262# Gets an array of ruby use targets enabled by the user
263ruby_get_use_implementations() {
264 local i implementation
265 for implementation in ${USE_RUBY}; do
266 use ruby_targets_${implementation} && i+=" ${implementation}"
267 done
268 echo $i
258} 269}
259 270
260# @FUNCTION: ruby_get_use_targets 271# @FUNCTION: ruby_get_use_targets
261# @DESCRIPTION: 272# @DESCRIPTION:
262# Gets an array of ruby use targets that the ebuild sets 273# Gets an array of ruby use targets that the ebuild sets

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.20