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

Diff of /eclass/ruby-ng-gnome2.eclass

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

Revision 1.11 Revision 1.15
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 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-gnome2.eclass,v 1.11 2011/09/18 04:30:14 naota Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.15 2012/05/02 18:31:45 jdhore Exp $
4 4
5# @ECLASS: ruby-ng-gnome2.eclass 5# @ECLASS: ruby-ng-gnome2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Ruby herd <ruby@gentoo.org> 7# Ruby herd <ruby@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
10# @BLURB: An eclass to simplify handling of various ruby-gnome2 parts. 10# @BLURB: An eclass to simplify handling of various ruby-gnome2 parts.
11# @DESCRIPTION: 11# @DESCRIPTION:
12# This eclass simplifies installation of the various pieces of 12# This eclass simplifies installation of the various pieces of
13# ruby-gnome2 since they share a very common installation procedure. 13# ruby-gnome2 since they share a very common installation procedure.
14 14
15RUBY_FAKEGEM_NAME="${PN#ruby-}" 15RUBY_FAKEGEM_NAME="${RUBY_FAKEGEM_NAME:-${PN#ruby-}}"
16RUBY_FAKEGEM_TASK_TEST="" 16RUBY_FAKEGEM_TASK_TEST=""
17RUBY_FAKEGEM_TASK_DOC=""
17 18
18inherit ruby-fakegem multilib versionator 19inherit ruby-fakegem multilib versionator
19 20
20IUSE="" 21IUSE=""
21 22
25subbinding=${PN#ruby-} 26subbinding=${PN#ruby-}
26if [ $(get_version_component_range "1-2") == "0.19" ]; then 27if [ $(get_version_component_range "1-2") == "0.19" ]; then
27 subbinding=${subbinding/%2} 28 subbinding=${subbinding/%2}
28else 29else
29 subbinding=${subbinding/-/_} 30 subbinding=${subbinding/-/_}
30 DEPEND="dev-util/pkgconfig" 31 DEPEND="virtual/pkgconfig"
31 ruby_add_bdepend "dev-ruby/pkg-config 32 ruby_add_bdepend "dev-ruby/pkg-config"
32 dev-ruby/rubygems"
33fi 33fi
34S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding} 34S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
35SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" 35SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
36HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" 36HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"
37LICENSE="Ruby" 37LICENSE="Ruby"

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20