/[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.58
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.58 2011/04/14 14:30:56 ssuominen 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.
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.58

  ViewVC Help
Powered by ViewVC 1.1.20