/[gentoo-x86]/eclass/gnome2.eclass
Gentoo

Diff of /eclass/gnome2.eclass

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

Revision 1.8 Revision 1.9
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
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/gnome2.eclass,v 1.8 2002/06/04 07:42:38 blocke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.9 2002/06/04 09:21:59 blocke Exp $
4 4
5# Authors: 5# Authors:
6# Bruce A. Locke <blocke@shivan.org> 6# Bruce A. Locke <blocke@shivan.org>
7# Spidler <spidler@gentoo.org> 7# Spidler <spidler@gentoo.org>
8 8
20export CXXFLAGS="${CXXFLAGS/-fomit-frame-pointer/} -g" 20export CXXFLAGS="${CXXFLAGS/-fomit-frame-pointer/} -g"
21 21
22G2CONF="--enable-debug=yes" 22G2CONF="--enable-debug=yes"
23SCROLLKEEPER_UPDATE="0" 23SCROLLKEEPER_UPDATE="0"
24 24
25gnome2_src_compile() { 25gnome2_src_configure() {
26 26
27 # doc keyword for gtk-doc 27 # doc keyword for gtk-doc
28 use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc" 28 use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc"
29 29
30 # fix those .la files 30 # fix those .la files
32 then 32 then
33 libtoolize --copy --force 33 libtoolize --copy --force
34 fi 34 fi
35 35
36 econf ${1} ${G2CONF} || die "./configure failure" 36 econf ${1} ${G2CONF} || die "./configure failure"
37
38}
39
40gnome2_src_compile() {
41
42 gnome2_src_configure ${1}
37 emake || die "compile failure" 43 emake || die "compile failure"
38 44
39} 45}
40 46
41gnome2_src_install() { 47gnome2_src_install() {

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20