/[gentoo-x86]/eclass/gtk-sharp-module.eclass
Gentoo

Diff of /eclass/gtk-sharp-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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/gtk-sharp-module.eclass,v 1.3 2008/11/26 10:03:42 loki_val Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.4 2008/11/26 14:03:05 loki_val Exp $
4 4
5# Author : Peter Johanson <latexer@gentoo.org>, butchered by ikelos, then loki_val. 5# Author : Peter Johanson <latexer@gentoo.org>, butchered by ikelos, then loki_val.
6# Based off of original work in gst-plugins.eclass by <foser@gentoo.org> 6# Based off of original work in gst-plugins.eclass by <foser@gentoo.org>
7 7
8# Note that this breaks compatibility with the original gtk-sharp-component 8# Note that this breaks compatibility with the original gtk-sharp-component
166} 166}
167 167
168gtk-sharp-module_src_compile() { 168gtk-sharp-module_src_compile() {
169 169
170 cd "${S}"/${GTK_SHARP_MODULE_DIR} 170 cd "${S}"/${GTK_SHARP_MODULE_DIR}
171 LANG=C emake -j1 || die "emake failed" 171 LANG=C emake ${OVERRIDEJOBS} || die "emake failed"
172} 172}
173 173
174gtk-sharp-module_src_install() { 174gtk-sharp-module_src_install() {
175 cd ${GTK_SHARP_MODULE_DIR} 175 cd ${GTK_SHARP_MODULE_DIR}
176 LANG=C emake GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package gtk-sharp${GTK_SHARP_SLOT_DEC}" \ 176 LANG=C emake ${OVERRIDEJOBS} GACUTIL_FLAGS="/root ${D}/usr/$(get_libdir) /gacdir /usr/$(get_libdir) /package gtk-sharp${GTK_SHARP_SLOT_DEC}" \
177 DESTDIR="${D}" install || die "emake install failed" 177 DESTDIR="${D}" install || die "emake install failed"
178} 178}
179 179
180EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install 180EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20