1 | # Copyright 1999-2003 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2003 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.28 2003/02/24 23:23:56 liquidx Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.29 2003/04/09 09:21:55 liquidx Exp $ |
4 | # |
4 | # |
5 | # Authors: |
5 | # Authors: |
6 | # Bruce A. Locke <blocke@shivan.org> |
6 | # Bruce A. Locke <blocke@shivan.org> |
7 | # Spidler <spidler@gentoo.org> |
7 | # Spidler <spidler@gentoo.org> |
8 | |
8 | |
… | |
… | |
29 | gnome2_src_configure() { |
29 | gnome2_src_configure() { |
30 | elibtoolize ${ELTCONF} |
30 | elibtoolize ${ELTCONF} |
31 | # doc keyword for gtk-doc |
31 | # doc keyword for gtk-doc |
32 | use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc" |
32 | use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc" |
33 | |
33 | |
34 | econf ${1} ${G2CONF} || die "./configure failure" |
34 | econf ${@} ${G2CONF} || die "./configure failure" |
35 | |
35 | |
36 | } |
36 | } |
37 | |
37 | |
38 | gnome2_src_compile() { |
38 | gnome2_src_compile() { |
39 | |
39 | |
40 | gnome2_src_configure ${1} |
40 | gnome2_src_configure ${@} |
41 | emake || die "compile failure" |
41 | emake || die "compile failure" |
42 | |
42 | |
43 | } |
43 | } |
44 | |
44 | |
45 | gnome2_src_install() { |
45 | gnome2_src_install() { |