/[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.6 Revision 1.7
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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.6 2011/05/29 13:43:16 naota Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.7 2011/05/29 13:47:14 naota 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# 8#
11# @BLURB: An eclass to simplify handling of various ruby-gnome2 parts. 11# @BLURB: An eclass to simplify handling of various ruby-gnome2 parts.
12# @DESCRIPTION: 12# @DESCRIPTION:
13# This eclass simplifies installation of the various pieces of 13# This eclass simplifies installation of the various pieces of
14# ruby-gnome2 since they share a very common installation procedure. 14# ruby-gnome2 since they share a very common installation procedure.
15 15
16inherit ruby-ng multilib 16inherit ruby-ng multilib versionator
17 17
18IUSE="" 18IUSE=""
19 19
20# Define EPREFIX if needed 20# Define EPREFIX if needed
21has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX= 21has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
22 22
23subbinding=${PN#ruby-} ; subbinding=${subbinding%2} 23subbinding=${PN#ruby-}
24if [ $(get_version_component_range "1-2") == "0.19" ]; then
25 subbinding=${subbinding/%2}
26else
27 subbinding=${subbinding/-/_}
28fi
24S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding} 29S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
25SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" 30SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
26HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" 31HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"
27LICENSE="Ruby" 32LICENSE="Ruby"
28SLOT="0" 33SLOT="0"

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20