| 1 | # Copyright 1999-2004 Gentoo Technologies, Inc. |
1 | # Copyright 1999-2004 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/skel.ebuild,v 1.26 2004/03/11 22:38:25 mr_bones_ Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/skel.ebuild,v 1.27 2004/06/20 21:18:22 vapier Exp $ |
| 4 | |
4 | |
| 5 | # NOTE: The comments in this file are for instruction and documentation. |
5 | # NOTE: The comments in this file are for instruction and documentation. |
| 6 | # They're not meant to appear with your final, production ebuild. Please |
6 | # They're not meant to appear with your final, production ebuild. Please |
| 7 | # remember to remove them before submitting or committing your ebuild. That |
7 | # remember to remove them before submitting or committing your ebuild. That |
| 8 | # doesn't mean you can't add your own comments though. |
8 | # doesn't mean you can't add your own comments though. |
| 9 | |
9 | |
| 10 | # The 'Header' on the third line should just be left alone. When your ebuild |
10 | # The 'Header' on the third line should just be left alone. When your ebuild |
| … | |
… | |
| 19 | |
19 | |
| 20 | # Point to any required sources; these will be automatically downloaded by |
20 | # Point to any required sources; these will be automatically downloaded by |
| 21 | # Portage. |
21 | # Portage. |
| 22 | SRC_URI="ftp://foo.bar.com/${P}.tar.gz" |
22 | SRC_URI="ftp://foo.bar.com/${P}.tar.gz" |
| 23 | |
23 | |
| 24 | # License of the package. This must match the name of file(s) in |
24 | # License of the package. This must match the name of file(s) in |
| 25 | # /usr/portage/licenses/. For complex license combination see the developer |
25 | # /usr/portage/licenses/. For complex license combination see the developer |
| 26 | # docs on gentoo.org for details. |
26 | # docs on gentoo.org for details. |
| 27 | LICENSE="" |
27 | LICENSE="" |
| 28 | |
28 | |
| 29 | # The SLOT variable is used to tell Portage if it's OK to keep multiple |
29 | # The SLOT variable is used to tell Portage if it's OK to keep multiple |
| 30 | # versions of the same package installed at the same time. For example, |
30 | # versions of the same package installed at the same time. For example, |
| 31 | # if we have a libfoo-1.2.2 and libfoo-1.3.2 (which is not compatible |
31 | # if we have a libfoo-1.2.2 and libfoo-1.3.2 (which is not compatible |
| 32 | # with 1.2.2), it would be optimal to instruct Portage to not remove |
32 | # with 1.2.2), it would be optimal to instruct Portage to not remove |
| 33 | # libfoo-1.2.2 if we decide to upgrade to libfoo-1.3.2. To do this, |
33 | # libfoo-1.2.2 if we decide to upgrade to libfoo-1.3.2. To do this, |
| 34 | # we specify SLOT="1.2" in libfoo-1.2.2 and SLOT="1.3" in libfoo-1.3.2. |
34 | # we specify SLOT="1.2" in libfoo-1.2.2 and SLOT="1.3" in libfoo-1.3.2. |
| 35 | # emerge clean understands SLOTs, and will keep the most recent version |
35 | # emerge clean understands SLOTs, and will keep the most recent version |
| 36 | # of each SLOT and remove everything else. |
36 | # of each SLOT and remove everything else. |
| 37 | # Note that normal applications should use SLOT="0" if possible, since |
37 | # Note that normal applications should use SLOT="0" if possible, since |
| 38 | # there should only be exactly one version installed at a time. |
38 | # there should only be exactly one version installed at a time. |
| 39 | # DO NOT USE SLOT=""! This tells Portage to disable SLOTs for this package. |
39 | # DO NOT USE SLOT=""! This tells Portage to disable SLOTs for this package. |
| 40 | SLOT="0" |
40 | SLOT="0" |
| 41 | |
41 | |
| 42 | # Using KEYWORDS, we can record masking information *inside* an ebuild |
42 | # Using KEYWORDS, we can record masking information *inside* an ebuild |
| 43 | # instead of relying on an external package.mask file. Right now, you |
43 | # instead of relying on an external package.mask file. Right now, you |
| 44 | # should set the KEYWORDS variable for every ebuild so that it contains |
44 | # should set the KEYWORDS variable for every ebuild so that it contains |
| 45 | # the names of all the architectures with which the ebuild works. We have |
45 | # the names of all the architectures with which the ebuild works. All of |
| 46 | # 4 official architecture names right now: "~x86", "~ppc", "~sparc" |
46 | # the official architectures can be found in the keywords.desc file which |
|
|
47 | # is in /usr/portage/profiles/. Usually you should just set this to "~x86". |
| 47 | # and "~alpha". The ~ in front of the architecture indicates that the |
48 | # The ~ in front of the architecture indicates that the package is new and |
| 48 | # package is new and should be considered unstable until testing proves its |
49 | # should be considered unstable until testing proves its stability. Once |
| 49 | # stability. Once packages go stable the ~ prefix is removed. |
50 | # packages go stable the ~ prefix is removed. So, if you've confirmed that |
| 50 | # So, if you've confirmed that your ebuild works on x86 and ppc, |
51 | # your ebuild works on x86 and ppc, you'd specify: KEYWORDS="~x86 ~ppc" |
| 51 | # you'd specify: KEYWORDS="~x86 ~ppc" |
|
|
| 52 | # For packages that are platform-independent (like Java, PHP or Perl |
52 | # For packages that are platform-independent (like Java, PHP or Perl |
| 53 | # applications) specify all keywords. |
53 | # applications) specify all keywords. |
| 54 | # For binary packages, use -* and then list the archs the bin package |
54 | # For binary packages, use -* and then list the archs the bin package |
| 55 | # exists for. If the package was for an x86 binary package, then |
55 | # exists for. If the package was for an x86 binary package, then |
| 56 | # KEYWORDS would be set like this: KEYWORDS="-* x86" |
56 | # KEYWORDS would be set like this: KEYWORDS="-* x86" |
| 57 | # DO NOT USE KEYWORDS="*". This is deprecated and only for backward |
57 | # DO NOT USE KEYWORDS="*". This is deprecated and only for backward |
| 58 | # compatibility reasons. |
58 | # compatibility reasons. |
| 59 | KEYWORDS="~x86" |
59 | KEYWORDS="~x86" |
| 60 | |
60 | |
| 61 | # Comprehensive list of any and all USE flags leveraged in the ebuild, |
61 | # Comprehensive list of any and all USE flags leveraged in the ebuild, |
| 62 | # with the exception of any ARCH specific flags, i.e. "ppc", "sparc", |
62 | # with the exception of any ARCH specific flags, i.e. "ppc", "sparc", |
| 63 | # "x86" and "alpha". This is a required variable. If the |
63 | # "x86" and "alpha". This is a required variable. If the ebuild doesn't |
| 64 | # ebuild doesn't use any USE flags, set to "". |
64 | # use any USE flags, set to "". |
| 65 | IUSE="X gnome" |
65 | IUSE="X gnome" |
| 66 | |
66 | |
| 67 | # Build-time dependencies, such as |
67 | # Build-time dependencies, such as |
| 68 | # ssl? ( >=dev-libs/openssl-0.9.6b ) |
68 | # ssl? ( >=dev-libs/openssl-0.9.6b ) |
| 69 | # >=dev-lang/perl-5.6.1-r1 |
69 | # >=dev-lang/perl-5.6.1-r1 |