summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce A. Locke <blocke@gentoo.org>2002-06-01 03:09:29 +0000
committerBruce A. Locke <blocke@gentoo.org>2002-06-01 03:09:29 +0000
commita5246197a521d87d62e412debbab4f0054970321 (patch)
tree4b09b037120ad78860fe7c3961c7842bc07e0531 /eclass/gnome2.eclass
parentprelim gnome2 eclass brainstorm... let the madness begin (diff)
downloadgentoo-2-a5246197a521d87d62e412debbab4f0054970321.tar.gz
gentoo-2-a5246197a521d87d62e412debbab4f0054970321.tar.bz2
gentoo-2-a5246197a521d87d62e412debbab4f0054970321.zip
more hacking
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass18
1 files changed, 14 insertions, 4 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index cd0ae4278566..0bc22e65243f 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,10 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.2 2002/06/01 03:09:29 blocke Exp $
+
+# Authors:
+# Bruce A. Locke <blocke@shivan.org>
+# Spidler <spidler@gentoo.org>
# Gnome 2 ECLASS
ECLASS="gnome2"
@@ -13,10 +17,16 @@ RESTRICT="nostrip"
CFLAGS="${CFLAGS} -g"
CXXFLAGS="${CXXFLAGS} -g"
+G2CONF="--enable-debug=yes"
gnome2_src_compile() {
- libtoolize --copy --force
+ use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc"
+
+ if [ ${LIBTOOL_FIX} -eq 1 ]
+ then
+ libtoolize --copy --force
+ fi
econf "${1} --enable-debug=yes" || die "./configure failure"
emake || die "compile failure"
@@ -30,7 +40,7 @@ gnome2_src_install() {
# manual document installation
if [ -n "${DOC}" && use doc ]
then
- for x in $DOC; do dodoc $x; done
+ dodoc ${DOC}
fi
}
@@ -48,6 +58,6 @@ gnome2_pkg_postinst() {
fi
}
-
+EXPORT_FUNCTIONS src_compile src_install pkg_postinst