/[gentoo-x86]/skel.ebuild
Gentoo

Diff of /skel.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.58 Revision 1.66
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
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.58 2011/04/14 14:30:56 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/skel.ebuild,v 1.66 2012/11/30 10:26:57 scarabeus 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.
11# will be committed to cvs, the details on that line will be automatically 11# will be committed to cvs, the details on that line will be automatically
12# generated to contain the correct data. 12# generated to contain the correct data.
13 13
14# The EAPI variable tells the ebuild format in use. 14# The EAPI variable tells the ebuild format in use.
15# Defaults to 0 if not specified. 15# Defaults to 0 if not specified.
16# It is suggested that you the latest EAPI approved by the Council. 16# It is suggested that you use the latest EAPI approved by the Council.
17# The PMS contains specifications for all EAPIs. Eclasses will test for this 17# The PMS contains specifications for all EAPIs. Eclasses will test for this
18# variable if they need to use EAPI > 0 features. 18# variable if they need to use EAPI > 0 features.
19EAPI=4 19EAPI=5
20 20
21# inherit lists eclasses to inherit functions from. Almost all ebuilds should 21# inherit lists eclasses to inherit functions from. Almost all ebuilds should
22# inherit eutils, as a large amount of important functionality has been 22# inherit eutils, as a large amount of important functionality has been
23# moved there. For example, the epatch call mentioned below wont work 23# moved there. For example, the epatch call mentioned below wont work
24# without the following line: 24# without the following line:
28# 'files' directory and use: 28# 'files' directory and use:
29# 29#
30# epatch "${FILESDIR}"/patch-name-here 30# epatch "${FILESDIR}"/patch-name-here
31# 31#
32# eclasses tend to list descriptions of how to use their functions properly. 32# eclasses tend to list descriptions of how to use their functions properly.
33# take a look at /usr/portage/eclasses/ for more examples. 33# take a look at /usr/portage/eclass/ for more examples.
34 34
35# Short one-line description of this package. 35# Short one-line description of this package.
36DESCRIPTION="This is a sample skeleton ebuild file" 36DESCRIPTION="This is a sample skeleton ebuild file"
37 37
38# Homepage, not used by Portage directly but handy for developer reference 38# Homepage, not used by Portage directly but handy for developer reference
39HOMEPAGE="http://foo.bar.com/" 39HOMEPAGE="http://foo.example.org/"
40 40
41# Point to any required sources; these will be automatically downloaded by 41# Point to any required sources; these will be automatically downloaded by
42# Portage. 42# Portage.
43SRC_URI="ftp://foo.bar.com/${P}.tar.gz" 43SRC_URI="ftp://foo.example.org/${P}.tar.gz"
44 44
45 45
46# License of the package. This must match the name of file(s) in 46# License of the package. This must match the name of file(s) in
47# /usr/portage/licenses/. For complex license combination see the developer 47# /usr/portage/licenses/. For complex license combination see the developer
48# docs on gentoo.org for details. 48# docs on gentoo.org for details.
79# compatibility reasons. 79# compatibility reasons.
80KEYWORDS="~x86" 80KEYWORDS="~x86"
81 81
82# Comprehensive list of any and all USE flags leveraged in the ebuild, 82# Comprehensive list of any and all USE flags leveraged in the ebuild,
83# with the exception of any ARCH specific flags, i.e. "ppc", "sparc", 83# with the exception of any ARCH specific flags, i.e. "ppc", "sparc",
84# "x86" and "alpha". This is a required variable. If the ebuild doesn't 84# "x86" and "alpha". Not needed if the ebuild doesn't use any USE flags.
85# use any USE flags, set to "".
86IUSE="gnome X" 85IUSE="gnome X"
87 86
88# A space delimited list of portage features to restrict. man 5 ebuild 87# A space delimited list of portage features to restrict. man 5 ebuild
89# for details. Usually not needed. 88# for details. Usually not needed.
90#RESTRICT="strip" 89#RESTRICT="strip"
105 104
106# Source directory; the dir where the sources can be found (automatically 105# Source directory; the dir where the sources can be found (automatically
107# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P} 106# unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P}
108# If you don't need to change it, leave the S= line out of the ebuild 107# If you don't need to change it, leave the S= line out of the ebuild
109# to keep it tidy. 108# to keep it tidy.
110#S="${WORKDIR}/${P}" 109#S=${WORKDIR}/${P}
111 110
112 111
113# The following src_configure function is implemented as default by portage, so 112# The following src_configure function is implemented as default by portage, so
114# you only need to call it if you need a different behaviour. 113# you only need to call it if you need a different behaviour.
115# This function is available only in EAPI 2 and later. 114# This function is available only in EAPI 2 and later.
126 # process should abort if they aren't successful.) 125 # process should abort if they aren't successful.)
127 #./configure \ 126 #./configure \
128 # --host=${CHOST} \ 127 # --host=${CHOST} \
129 # --prefix=/usr \ 128 # --prefix=/usr \
130 # --infodir=/usr/share/info \ 129 # --infodir=/usr/share/info \
131 # --mandir=/usr/share/man || die "./configure failed" 130 # --mandir=/usr/share/man || die
132 # Note the use of --infodir and --mandir, above. This is to make 131 # Note the use of --infodir and --mandir, above. This is to make
133 # this package FHS 2.2-compliant. For more information, see 132 # this package FHS 2.2-compliant. For more information, see
134 # http://www.pathname.com/fhs/ 133 # http://www.pathname.com/fhs/
135#} 134#}
136 135

Legend:
Removed from v.1.58  
changed lines
  Added in v.1.66

  ViewVC Help
Powered by ViewVC 1.1.20