/[gentoo-x86]/skel.ebuild
Gentoo

Diff of /skel.ebuild

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

Revision 1.57 Revision 1.60
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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.57 2011/04/13 20:17:49 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/skel.ebuild,v 1.60 2011/08/17 19:28:30 ulm 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.
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.
126 # process should abort if they aren't successful.) 126 # process should abort if they aren't successful.)
127 #./configure \ 127 #./configure \
128 # --host=${CHOST} \ 128 # --host=${CHOST} \
129 # --prefix=/usr \ 129 # --prefix=/usr \
130 # --infodir=/usr/share/info \ 130 # --infodir=/usr/share/info \
131 # --mandir=/usr/share/man || die "./configure failed" 131 # --mandir=/usr/share/man || die
132 # Note the use of --infodir and --mandir, above. This is to make 132 # Note the use of --infodir and --mandir, above. This is to make
133 # this package FHS 2.2-compliant. For more information, see 133 # this package FHS 2.2-compliant. For more information, see
134 # http://www.pathname.com/fhs/ 134 # http://www.pathname.com/fhs/
135#} 135#}
136 136
146 # not work for some packages, because some makefiles have bugs 146 # not work for some packages, because some makefiles have bugs
147 # related to parallelism, in these cases, use emake -j1 to limit 147 # related to parallelism, in these cases, use emake -j1 to limit
148 # make to a single process. The -j1 is a visual clue to others 148 # make to a single process. The -j1 is a visual clue to others
149 # that the makefiles have bugs that have been worked around. 149 # that the makefiles have bugs that have been worked around.
150 150
151 #emake || die "emake failed" 151 #emake || die
152#} 152#}
153 153
154# The following src_install function is implemented as default by portage, so 154# The following src_install function is implemented as default by portage, so
155# you only need to call it, if you need different behaviour. 155# you only need to call it, if you need different behaviour.
156# For EAPI < 4 src_install is just returing true, so you need to always specify 156# For EAPI < 4 src_install is just returing true, so you need to always specify
158#src_install() { 158#src_install() {
159 # You must *personally verify* that this trick doesn't install 159 # You must *personally verify* that this trick doesn't install
160 # anything outside of DESTDIR; do this by reading and 160 # anything outside of DESTDIR; do this by reading and
161 # understanding the install part of the Makefiles. 161 # understanding the install part of the Makefiles.
162 # This is the preferred way to install. 162 # This is the preferred way to install.
163 #emake DESTDIR="${D}" install || die "emake install failed" 163 #emake DESTDIR="${D}" install || die
164 164
165 # When you hit a failure with emake, do not just use make. It is 165 # When you hit a failure with emake, do not just use make. It is
166 # better to fix the Makefiles to allow proper parallelization. 166 # better to fix the Makefiles to allow proper parallelization.
167 # If you fail with that, use "emake -j1", it's still better than make. 167 # If you fail with that, use "emake -j1", it's still better than make.
168 168
174 #emake \ 174 #emake \
175 # prefix="${D}"/usr \ 175 # prefix="${D}"/usr \
176 # mandir="${D}"/usr/share/man \ 176 # mandir="${D}"/usr/share/man \
177 # infodir="${D}"/usr/share/info \ 177 # infodir="${D}"/usr/share/info \
178 # libdir="${D}"/usr/$(get_libdir) \ 178 # libdir="${D}"/usr/$(get_libdir) \
179 # install || die "emake install failed" 179 # install || die
180 # Again, verify the Makefiles! We don't want anything falling 180 # Again, verify the Makefiles! We don't want anything falling
181 # outside of ${D}. 181 # outside of ${D}.
182 182
183 # The portage shortcut to the above command is simply: 183 # The portage shortcut to the above command is simply:
184 # 184 #
185 #einstall || die "einstall failed" 185 #einstall || die
186#} 186#}

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.60

  ViewVC Help
Powered by ViewVC 1.1.20