1 |
scarabeus 10/01/11 17:23:04 |
2 |
|
3 |
Modified: base.eclass |
4 |
Log: |
5 |
Update ECLASSDOC so it is working properly. |
6 |
|
7 |
Revision Changes Path |
8 |
1.42 eclass/base.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/base.eclass?rev=1.42&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/base.eclass?rev=1.42&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/base.eclass?r1=1.41&r2=1.42 |
13 |
|
14 |
Index: base.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/base.eclass,v |
17 |
retrieving revision 1.41 |
18 |
retrieving revision 1.42 |
19 |
diff -u -r1.41 -r1.42 |
20 |
--- base.eclass 11 Jan 2010 16:57:46 -0000 1.41 |
21 |
+++ base.eclass 11 Jan 2010 17:23:04 -0000 1.42 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2008 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.41 2010/01/11 16:57:46 scarabeus Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.42 2010/01/11 17:23:04 scarabeus Exp $ |
27 |
|
28 |
# @ECLASS: base.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -23,24 +23,28 @@ |
31 |
EXPORT_FUNCTIONS ${BASE_EXPF} |
32 |
|
33 |
# @ECLASS-VARIABLE: DOCS |
34 |
-# @USAGE: DOCS=( "${S}/doc/document.txt" "${S}/doc/doc_folder/" ) |
35 |
# @DESCRIPTION: |
36 |
# Array containing documents passed to dodoc command. |
37 |
+# |
38 |
+# DOCS=( "${S}/doc/document.txt" "${S}/doc/doc_folder/" ) |
39 |
|
40 |
# @ECLASS-VARIABLE: HTML_DOCS |
41 |
-# @USAGE: HTML_DOCS=( "${S}/doc/document.html" "${S}/doc/html_folder/" ) |
42 |
# @DESCRIPTION: |
43 |
# Array containing documents passed to dohtml command. |
44 |
+# |
45 |
+# HTML_DOCS=( "${S}/doc/document.html" "${S}/doc/html_folder/" ) |
46 |
|
47 |
# @ECLASS-VARIABLE: PATCHES |
48 |
-# @USAGE: PATCHES=( "${FILESDIR}/mypatch.patch" "${FILESDIR}/patches_folder/" ) |
49 |
# @DESCRIPTION: |
50 |
# PATCHES array variable containing all various patches to be applied. |
51 |
# This variable is expected to be defined in global scope of ebuild. |
52 |
# Make sure to specify the full path. This variable is utilised in |
53 |
# src_unpack/src_prepare phase based on EAPI. |
54 |
+# |
55 |
# NOTE: if using patches folders with special file suffixes you have to |
56 |
# define one additional variable EPATCH_SUFFIX="something" |
57 |
+# |
58 |
+# PATCHES=( "${FILESDIR}/mypatch.patch" "${FILESDIR}/patches_folder/" ) |
59 |
|
60 |
|
61 |
# @FUNCTION: base_src_unpack |
62 |
@@ -103,7 +107,8 @@ |
63 |
# @FUNCTION: base_src_configure |
64 |
# @DESCRIPTION: |
65 |
# The base src_configure function, which is exported when |
66 |
-# EAPI is greater or equal to 2. Runs basic econf. |
67 |
+# EAPI is greater or equal to 2. Runs basic econf. Here the PATCHES array is |
68 |
+# evaluated. |
69 |
base_src_configure() { |
70 |
debug-print-function $FUNCNAME "$@" |