/[gentoo-x86]/skel.ebuild
Gentoo

Diff of /skel.ebuild

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

Revision 1.31 Revision 1.32
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.31 2004/09/02 07:35:42 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/skel.ebuild,v 1.32 2004/10/05 13:28:30 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.
134 134
135src_install() { 135src_install() {
136 # You must *personally verify* that this trick doesn't install 136 # You must *personally verify* that this trick doesn't install
137 # anything outside of DESTDIR; do this by reading and 137 # anything outside of DESTDIR; do this by reading and
138 # understanding the install part of the Makefiles. 138 # understanding the install part of the Makefiles.
139 # This is the preferred way to install.
139 make DESTDIR=${D} install || die 140 make DESTDIR=${D} install || die
141
140 # For Makefiles that don't make proper use of DESTDIR, setting 142 # For Makefiles that don't make proper use of DESTDIR, setting
141 # prefix is often an alternative. However if you do this, then 143 # prefix is often an alternative. However if you do this, then
142 # you also need to specify mandir and infodir, since they were 144 # you also need to specify mandir and infodir, since they were
143 # passed to ./configure as absolute paths (overriding the prefix 145 # passed to ./configure as absolute paths (overriding the prefix
144 # setting). 146 # setting).
152 # outside of ${D}. 154 # outside of ${D}.
153 155
154 # The portage shortcut to the above command is simply: 156 # The portage shortcut to the above command is simply:
155 # 157 #
156 #einstall || die 158 #einstall || die
157 # Note that einstall will die on failure, but please use einstall || die
158 # for consistency.
159} 159}

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.20