summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-09-13 12:30:44 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-09-13 12:30:44 +0000
commit716fb0a1fe378b080411983f0f64aa01e927ff37 (patch)
tree689cd23132893b9316ae2a0daa63f0aa0cc343bf /eclass/ruby-gnome2.eclass
parentNew snapshot. (diff)
downloadhistorical-716fb0a1fe378b080411983f0f64aa01e927ff37.tar.gz
historical-716fb0a1fe378b080411983f0f64aa01e927ff37.tar.bz2
historical-716fb0a1fe378b080411983f0f64aa01e927ff37.zip
Create the /usr/lib(64)/pkgconfig directory before installing, fixes
install of ruby-gnome2 0.19.1 series of packages.
Diffstat (limited to 'eclass/ruby-gnome2.eclass')
-rw-r--r--eclass/ruby-gnome2.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/ruby-gnome2.eclass b/eclass/ruby-gnome2.eclass
index 9239f45000fb..fd7854614585 100644
--- a/eclass/ruby-gnome2.eclass
+++ b/eclass/ruby-gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-gnome2.eclass,v 1.15 2009/07/16 06:55:09 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-gnome2.eclass,v 1.16 2009/09/13 12:30:44 flameeyes Exp $
#
# This eclass simplifies installation of the various pieces of
# ruby-gnome2 since they share a very common installation procedure.
@@ -11,6 +11,8 @@
# Variables:
# PATCHES Space delimited list of patch files.
+inherit multilib
+
EXPORT_FUNCTIONS src_compile src_install src_unpack
IUSE=""
@@ -64,7 +66,9 @@ ruby-gnome2_src_compile() {
}
ruby-gnome2_src_install() {
- dodir $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitearchdir"]')
+ # Create the directories, or the package will create them as files.
+ dodir $(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitearchdir"]') /usr/$(get_libdir)/pkgconfig
+
make DESTDIR="${D}" install || die "make install failed"
for doc in ../AUTHORS ../NEWS ChangeLog README; do
[ -s "$doc" ] && dodoc $doc