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