| 1 | # Copyright 1999-2000 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2000 Gentoo Technologies, Inc. |
| 2 | # Distributed under the terms of the GNU General Public License, v2 or later |
2 | # Distributed under the terms of the GNU General Public License, v2 or later |
| 3 | # Author Dan Armak <danarmak@gentoo.org> |
3 | # Author Dan Armak <danarmak@gentoo.org> |
| 4 | # $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.12 2002/03/27 22:33:53 danarmak Exp $ |
4 | # $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.13 2002/03/30 12:52:14 danarmak Exp $ |
| 5 | # The base eclass defines some default functions and variables. Nearly everything |
5 | # The base eclass defines some default functions and variables. Nearly everything |
| 6 | # else inherits from here. |
6 | # else inherits from here. |
| 7 | [ -n "$COMPAT" ] && inherit functions |
7 | [ -n "$COMPAT" ] && inherit functions |
| 8 | ECLASS=base |
8 | ECLASS=base |
| 9 | |
9 | |
| … | |
… | |
| 50 | while [ "$1" ]; do |
50 | while [ "$1" ]; do |
| 51 | |
51 | |
| 52 | case $1 in |
52 | case $1 in |
| 53 | configure) |
53 | configure) |
| 54 | debug-print-section configure |
54 | debug-print-section configure |
| 55 | ./configure || die "died running ./configure, $FUNCNAME:configure" |
55 | econf || die "died running econf, $FUNCNAME:configure" |
| 56 | ;; |
56 | ;; |
| 57 | make) |
57 | make) |
| 58 | debug-print-section make |
58 | debug-print-section make |
| 59 | make || die "died running make, $FUNCNAME:make" |
59 | emake || die "died running emake, $FUNCNAME:make" |
| 60 | ;; |
60 | ;; |
| 61 | all) |
61 | all) |
| 62 | debug-print-section all |
62 | debug-print-section all |
| 63 | base_src_compile configure make |
63 | base_src_compile configure make |
| 64 | ;; |
64 | ;; |