| 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.15 2002/06/17 23:19:20 spider Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.16 2002/06/18 21:17:16 spider Exp $ |
| 4 | |
4 | |
| 5 | inherit libtool |
5 | inherit libtool |
| 6 | inherit debug |
6 | inherit debug |
| 7 | # Authors: |
7 | # Authors: |
| 8 | # Bruce A. Locke <blocke@shivan.org> |
8 | # Bruce A. Locke <blocke@shivan.org> |
| … | |
… | |
| 14 | G2CONF="--enable-debug=yes" |
14 | G2CONF="--enable-debug=yes" |
| 15 | SCROLLKEEPER_UPDATE="0" |
15 | SCROLLKEEPER_UPDATE="0" |
| 16 | |
16 | |
| 17 | gnome2_src_configure() { |
17 | gnome2_src_configure() { |
| 18 | elibtoolize |
18 | elibtoolize |
| 19 | cd ${S} |
|
|
| 20 | # doc keyword for gtk-doc |
19 | # doc keyword for gtk-doc |
| 21 | use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc" |
20 | use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc" |
| 22 | |
21 | |
| 23 | econf ${1} ${G2CONF} || die "./configure failure" |
22 | econf ${1} ${G2CONF} || die "./configure failure" |
| 24 | |
23 | |