/[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.13 Revision 1.16
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.13 2011/10/09 09:39:59 graaff Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.16 2012/08/18 07:28:39 graaff 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:
26subbinding=${PN#ruby-} 26subbinding=${PN#ruby-}
27if [ $(get_version_component_range "1-2") == "0.19" ]; then 27if [ $(get_version_component_range "1-2") == "0.19" ]; then
28 subbinding=${subbinding/%2} 28 subbinding=${subbinding/%2}
29else 29else
30 subbinding=${subbinding/-/_} 30 subbinding=${subbinding/-/_}
31 DEPEND="dev-util/pkgconfig" 31 DEPEND="virtual/pkgconfig"
32 ruby_add_bdepend "dev-ruby/pkg-config 32 ruby_add_bdepend "dev-ruby/pkg-config"
33 dev-ruby/rubygems"
34fi 33fi
34if has "${EAPI:-0}" 0 1 2 3 ; then
35S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding} 35 S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding}
36else
37 RUBY_S=ruby-gnome2-all-${PV}/${subbinding}
38fi
36SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" 39SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
37HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" 40HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"
38LICENSE="Ruby" 41LICENSE="Ruby"
39SLOT="0" 42SLOT="0"
40 43

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20