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

Diff of /eclass/gnome2.eclass

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

Revision 1.1 Revision 1.2
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.1 2002/06/01 02:55:47 blocke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.2 2002/06/01 03:09:29 blocke Exp $
4
5# Authors:
6# Bruce A. Locke <blocke@shivan.org>
7# Spidler <spidler@gentoo.org>
4 8
5# Gnome 2 ECLASS 9# Gnome 2 ECLASS
6ECLASS="gnome2" 10ECLASS="gnome2"
7 11
8# DEBUG for Beta 12# DEBUG for Beta
11RESTRICT="nostrip" 15RESTRICT="nostrip"
12# force debug information 16# force debug information
13CFLAGS="${CFLAGS} -g" 17CFLAGS="${CFLAGS} -g"
14CXXFLAGS="${CXXFLAGS} -g" 18CXXFLAGS="${CXXFLAGS} -g"
15 19
20G2CONF="--enable-debug=yes"
16 21
17gnome2_src_compile() { 22gnome2_src_compile() {
18 23
24 use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc"
25
26 if [ ${LIBTOOL_FIX} -eq 1 ]
27 then
19 libtoolize --copy --force 28 libtoolize --copy --force
29 fi
20 30
21 econf "${1} --enable-debug=yes" || die "./configure failure" 31 econf "${1} --enable-debug=yes" || die "./configure failure"
22 emake || die "compile failure" 32 emake || die "compile failure"
23 33
24} 34}
28 einstall ${1} 38 einstall ${1}
29 39
30 # manual document installation 40 # manual document installation
31 if [ -n "${DOC}" && use doc ] 41 if [ -n "${DOC}" && use doc ]
32 then 42 then
33 for x in $DOC; do dodoc $x; done 43 dodoc ${DOC}
34 fi 44 fi
35 45
36} 46}
37 47
38gnome2_pkg_postinst() { 48gnome2_pkg_postinst() {
46 /etc/gconf/schemas/${SCHEMA} 56 /etc/gconf/schemas/${SCHEMA}
47 done 57 done
48 fi 58 fi
49} 59}
50 60
61EXPORT_FUNCTIONS src_compile src_install pkg_postinst
51 62
52 63
53

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20