| 1 | # Copyright 1999-2011 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-gnome2.eclass,v 1.10 2011/09/18 03:45:21 naota Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.11 2011/09/18 04:30: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 | # @AUTHOR: |
8 | # @AUTHOR: |
| … | |
… | |
| 25 | subbinding=${PN#ruby-} |
25 | subbinding=${PN#ruby-} |
| 26 | if [ $(get_version_component_range "1-2") == "0.19" ]; then |
26 | if [ $(get_version_component_range "1-2") == "0.19" ]; then |
| 27 | subbinding=${subbinding/%2} |
27 | subbinding=${subbinding/%2} |
| 28 | else |
28 | else |
| 29 | subbinding=${subbinding/-/_} |
29 | subbinding=${subbinding/-/_} |
|
|
30 | DEPEND="dev-util/pkgconfig" |
|
|
31 | ruby_add_bdepend "dev-ruby/pkg-config |
|
|
32 | dev-ruby/rubygems" |
| 30 | fi |
33 | fi |
| 31 | S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding} |
34 | S=${WORKDIR}/ruby-gnome2-all-${PV}/${subbinding} |
| 32 | SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" |
35 | SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" |
| 33 | HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" |
36 | HOMEPAGE="http://ruby-gnome2.sourceforge.jp/" |
| 34 | LICENSE="Ruby" |
37 | LICENSE="Ruby" |
| 35 | SLOT="0" |
38 | SLOT="0" |
| 36 | |
|
|
| 37 | DEPEND="dev-util/pkgconfig" |
|
|
| 38 | ruby_add_bdepend "dev-ruby/pkg-config |
|
|
| 39 | dev-ruby/rubygems" |
|
|
| 40 | |
39 | |
| 41 | # @FUNCTION: each_ruby_configure |
40 | # @FUNCTION: each_ruby_configure |
| 42 | # @DESCRIPTION: |
41 | # @DESCRIPTION: |
| 43 | # Run the configure script in the subbinding for each specific ruby target. |
42 | # Run the configure script in the subbinding for each specific ruby target. |
| 44 | each_ruby_configure() { |
43 | each_ruby_configure() { |