1 |
scen 09/01/21 23:31:42 |
2 |
|
3 |
Modified: hb-guide-eclass.xml |
4 |
Log: |
5 |
Revision 1.10 of EN CVS |
6 |
|
7 |
Revision Changes Path |
8 |
1.6 xml/htdocs/proj/it/devrel/handbook/hb-guide-eclass.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/it/devrel/handbook/hb-guide-eclass.xml?rev=1.6&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/it/devrel/handbook/hb-guide-eclass.xml?rev=1.6&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/it/devrel/handbook/hb-guide-eclass.xml?r1=1.5&r2=1.6 |
13 |
|
14 |
Index: hb-guide-eclass.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/it/devrel/handbook/hb-guide-eclass.xml,v |
17 |
retrieving revision 1.5 |
18 |
retrieving revision 1.6 |
19 |
diff -u -r1.5 -r1.6 |
20 |
--- hb-guide-eclass.xml 28 Feb 2008 20:52:42 -0000 1.5 |
21 |
+++ hb-guide-eclass.xml 21 Jan 2009 23:31:42 -0000 1.6 |
22 |
@@ -1,7 +1,7 @@ |
23 |
<?xml version='1.0' encoding='UTF-8'?> |
24 |
<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/it/devrel/handbook/hb-guide-eclass.xml,v 1.5 2008/02/28 20:52:42 scen Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/it/devrel/handbook/hb-guide-eclass.xml,v 1.6 2009/01/21 23:31:42 scen Exp $ --> |
28 |
|
29 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
30 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
31 |
@@ -50,8 +50,9 @@ |
32 |
</p> |
33 |
|
34 |
<pre caption="Esempio: sourceforge.eclass"> |
35 |
-# Copyright 2004 Gentoo Foundation Distributed under the terms of the GNU |
36 |
-# General Public License, v2 or later Author Dan Armak |
37 |
+# Copyright 2009 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License, v2 or later |
39 |
+# Author Dan Armak |
40 |
# <danarmak@g.o> $Header: $ |
41 |
|
42 |
# questa eclass imposta ${HOMEPAGE} e ${SRC_URI} ai valori standard per |
43 |
@@ -215,8 +216,8 @@ |
44 |
</p> |
45 |
|
46 |
<pre caption="Risultato di EXPORT_FUNCTIONS"> |
47 |
-src_compile() { foo_src_compile() ; } |
48 |
-src_install() { foo_src_install() ; } |
49 |
+src_compile() { foo_src_compile ; } |
50 |
+src_install() { foo_src_install ; } |
51 |
</pre> |
52 |
|
53 |
<p> |
54 |
@@ -280,7 +281,7 @@ |
55 |
|
56 |
<pre caption="Esempio da base.eclass di origine"> |
57 |
base_src_compile() { |
58 |
- ./configure || die |
59 |
+ econf || die |
60 |
emake || die |
61 |
} |
62 |
</pre> |
63 |
@@ -297,7 +298,7 @@ |
64 |
while [ "$1" ]; do |
65 |
case $1 in |
66 |
configure) |
67 |
- ./configure || die;; |
68 |
+ econf || die;; |
69 |
make) |
70 |
emake || die;; |
71 |
all) |