| 1 | # Copyright 1999-2000 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/base.eclass,v 1.21 2003/02/18 09:00:45 carpaski Exp $ |
|
|
4 | # |
| 3 | # Author Dan Armak <danarmak@gentoo.org> |
5 | # Author Dan Armak <danarmak@gentoo.org> |
| 4 | # $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.19 2003/01/30 17:25:00 danarmak Exp $ |
6 | # |
| 5 | # The base eclass defines some default functions and variables. Nearly everything |
7 | # The base eclass defines some default functions and variables. Nearly everything |
| 6 | # else inherits from here. |
8 | # else inherits from here. |
| 7 | |
9 | |
| 8 | ECLASS=base |
10 | ECLASS=base |
| 9 | INHERITED="$INHERITED $ECLASS" |
11 | INHERITED="$INHERITED $ECLASS" |
| 10 | S=${WORKDIR}/${P} |
12 | S=${WORKDIR}/${P} |
| 11 | DESCRIPTION="Based on the $ECLASS eclass" |
13 | [ -z "$DESCRIPTION" ] && DESCRIPTION="Based on the $ECLASS eclass" |
| 12 | |
14 | |
| 13 | base_src_unpack() { |
15 | base_src_unpack() { |
| 14 | |
16 | |
| 15 | debug-print-function $FUNCNAME $* |
17 | debug-print-function $FUNCNAME $* |
| 16 | [ -z "$1" ] && base_src_unpack all |
18 | [ -z "$1" ] && base_src_unpack all |