/[gentoo-x86]/skel.ebuild
Gentoo

Diff of /skel.ebuild

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

Revision 1.35 Revision 1.38
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2006 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.35 2005/12/04 23:51:13 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/skel.ebuild,v 1.38 2006/06/23 15:50:35 genstef 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.
77# use any USE flags, set to "". 77# use any USE flags, set to "".
78IUSE="X gnome" 78IUSE="X gnome"
79 79
80# A space delimited list of portage features to restrict. man 5 ebuild 80# A space delimited list of portage features to restrict. man 5 ebuild
81# for details. Usually not needed. 81# for details. Usually not needed.
82#RESTRICT="nostrip" 82#RESTRICT="strip"
83 83
84# Build-time dependencies, such as 84# Build-time dependencies, such as
85# ssl? ( >=dev-libs/openssl-0.9.6b ) 85# ssl? ( >=dev-libs/openssl-0.9.6b )
86# >=dev-lang/perl-5.6.1-r1 86# >=dev-lang/perl-5.6.1-r1
87# It is advisable to use the >= syntax show above, to reflect what you 87# It is advisable to use the >= syntax show above, to reflect what you
132src_install() { 132src_install() {
133 # You must *personally verify* that this trick doesn't install 133 # You must *personally verify* that this trick doesn't install
134 # anything outside of DESTDIR; do this by reading and 134 # anything outside of DESTDIR; do this by reading and
135 # understanding the install part of the Makefiles. 135 # understanding the install part of the Makefiles.
136 # This is the preferred way to install. 136 # This is the preferred way to install.
137 make DESTDIR=${D} install || die 137 emake DESTDIR=${D} install || die "emake install failed"
138
139 # When you hit a failure with emake, do not just use make. It is
140 # better to fix the Makefiles to allow proper parallelization.
141 # If you fail with that, use "emake -j1", it's still better than make.
138 142
139 # For Makefiles that don't make proper use of DESTDIR, setting 143 # For Makefiles that don't make proper use of DESTDIR, setting
140 # prefix is often an alternative. However if you do this, then 144 # prefix is often an alternative. However if you do this, then
141 # you also need to specify mandir and infodir, since they were 145 # you also need to specify mandir and infodir, since they were
142 # passed to ./configure as absolute paths (overriding the prefix 146 # passed to ./configure as absolute paths (overriding the prefix
143 # setting). 147 # setting).
144 #make \ 148 #emake \
145 # prefix=${D}/usr \ 149 # prefix=${D}/usr \
146 # mandir=${D}/usr/share/man \ 150 # mandir=${D}/usr/share/man \
147 # infodir=${D}/usr/share/info \ 151 # infodir=${D}/usr/share/info \
148 # libdir=${D}/usr/$(get_libdir) \ 152 # libdir=${D}/usr/$(get_libdir) \
149 # install || die 153 # install || die "emake install failed"
150 # Again, verify the Makefiles! We don't want anything falling 154 # Again, verify the Makefiles! We don't want anything falling
151 # outside of ${D}. 155 # outside of ${D}.
152 156
153 # The portage shortcut to the above command is simply: 157 # The portage shortcut to the above command is simply:
154 # 158 #
155 #einstall || die 159 #einstall || die "einstall failed"
156} 160}

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.20