aboutsummaryrefslogtreecommitdiff
blob: 7d348ef7b93b66772eace818c7c0f388fff9c4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0"?>
<guide self="function-reference/build-functions/">
<chapter>
<title>Build Functions Reference</title>

<body>

<p>
The following functions, which are all provided by <c>ebuild.sh</c>, are useful
during the unpack and compile stages.
</p>

<table>
  <tr>
    <th>
      Function
    </th>
    <th>
      Details
    </th>
  </tr>
  <tr>
    <ti>
      <c>unpack archives</c>
    </ti>
    <ti>
      Unpack the specified archives.
    </ti>
  </tr>
  <tr>
    <ti>
      <c>econf args</c>
    </ti>
    <ti>
      Wrapper for <c>./configure</c>. Passes on all <c>args</c>. Will abort (via <c>die</c>) should <c>configure</c> fail.
    </ti>
  </tr>
  <tr>
    <ti>
      <c>emake args</c>
    </ti>
    <ti>
      Wrapper for <c>make</c>. Passes on all <c>args</c>.
    </ti>
  </tr>
  <tr>
    <ti>
      <c>einstall args</c>
    </ti>
    <ti>
      Wrapper for <c>emake install</c>, only to be used if <c>emake DESTDIR="${D}"</c> is unsuitable.
      <b>Note</b>: Banned in EAPI 6.
    </ti>
  </tr>
</table>

</body>
</chapter>
</guide>