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

Contents of /eclass/gnome2.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jun 1 02:55:47 2002 UTC (12 years, 6 months ago) by blocke
Branch: MAIN
prelim gnome2 eclass brainstorm... let the madness begin

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 # Gnome 2 ECLASS
6 ECLASS="gnome2"
7
8 # DEBUG for Beta
9 # Do _NOT_ strip symbols in the build! Need both lines for Portage 1.8.9+
10 DEBUG="yes"
11 RESTRICT="nostrip"
12 # force debug information
13 CFLAGS="${CFLAGS} -g"
14 CXXFLAGS="${CXXFLAGS} -g"
15
16
17 gnome2_src_compile() {
18
19 libtoolize --copy --force
20
21 econf "${1} --enable-debug=yes" || die "./configure failure"
22 emake || die "compile failure"
23
24 }
25
26 gnome2_src_install() {
27
28 einstall ${1}
29
30 # manual document installation
31 if [ -n "${DOC}" && use doc ]
32 then
33 for x in $DOC; do dodoc $x; done
34 fi
35
36 }
37
38 gnome2_pkg_postinst() {
39
40 # manual schema installation
41 if [ -n "${SCHEMA}" ]
42 then
43 for x in $SCHEMA
44 do
45 /usr/bin/gconftool-2 --makefile-install-rule \
46 /etc/gconf/schemas/${SCHEMA}
47 done
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20