| 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.4 2010/12/15 12:36:46 graaff Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.5 2010/12/15 12:38:47 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 | # |
8 | # |
| … | |
… | |
| 51 | # @FUNCTION: each_ruby_install |
51 | # @FUNCTION: each_ruby_install |
| 52 | # @DESCRIPTION: |
52 | # @DESCRIPTION: |
| 53 | # Install the files in the subbinding for each specific ruby target. |
53 | # Install the files in the subbinding for each specific ruby target. |
| 54 | each_ruby_install() { |
54 | each_ruby_install() { |
| 55 | # Create the directories, or the package will create them as files. |
55 | # Create the directories, or the package will create them as files. |
| 56 | local archdir=ruby_rbconfig_value "sitearchdir" |
56 | local archdir=$(ruby_rbconfig_value "sitearchdir") |
| 57 | dodir ${archdir#${EPREFIX}} /usr/$(get_libdir)/pkgconfig |
57 | dodir ${archdir#${EPREFIX}} /usr/$(get_libdir)/pkgconfig |
| 58 | |
58 | |
| 59 | emake DESTDIR="${D}" install || die "make install failed" |
59 | emake DESTDIR="${D}" install || die "make install failed" |
| 60 | } |
60 | } |
| 61 | |
61 | |