summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-09-18 03:45:21 +0000
committerNaohiro Aota <naota@gentoo.org>2011-09-18 03:45:21 +0000
commit368d4a039f943705b351f8c4015f652522864bd6 (patch)
treea67cb8c2dc61efc3c6bf20fb4f18c38dcfec193b /eclass/ruby-ng-gnome2.eclass
parentpmask www-plugins/weave for removal. (diff)
downloadgentoo-2-368d4a039f943705b351f8c4015f652522864bd6.tar.gz
gentoo-2-368d4a039f943705b351f8c4015f652522864bd6.tar.bz2
gentoo-2-368d4a039f943705b351f8c4015f652522864bd6.zip
Install gemspecs.
Diffstat (limited to 'eclass/ruby-ng-gnome2.eclass')
-rw-r--r--eclass/ruby-ng-gnome2.eclass12
1 files changed, 10 insertions, 2 deletions
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index 5a4b74cf0b64..a7301e5519f8 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.9 2011/09/18 02:06:04 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.10 2011/09/18 03:45:21 naota Exp $
# @ECLASS: ruby-ng-gnome2.eclass
# @MAINTAINER:
@@ -12,7 +12,10 @@
# This eclass simplifies installation of the various pieces of
# ruby-gnome2 since they share a very common installation procedure.
-inherit ruby-ng multilib versionator
+RUBY_FAKEGEM_NAME="${PN#ruby-}"
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem multilib versionator
IUSE=""
@@ -31,6 +34,7 @@ HOMEPAGE="http://ruby-gnome2.sourceforge.jp/"
LICENSE="Ruby"
SLOT="0"
+DEPEND="dev-util/pkgconfig"
ruby_add_bdepend "dev-ruby/pkg-config
dev-ruby/rubygems"
@@ -66,6 +70,8 @@ each_ruby_install() {
dodir ${archdir#${EPREFIX}} /usr/$(get_libdir)/pkgconfig
emake DESTDIR="${D}" install || die "make install failed"
+
+ each_fakegem_install
}
# @FUNCTION: all_ruby_install
@@ -79,4 +85,6 @@ all_ruby_install() {
insinto /usr/share/doc/${PF}
doins -r sample || die "sample install failed"
fi
+
+ all_fakegem_install
}