/[gentoo-x86]/skel.build
Gentoo

Diff of /skel.build

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

Revision 1.6 Revision 1.7
1# Copyright 1999-2001 Gentoo Technologies, Inc. 1# Copyright 1999-2001 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License, v2 or later 2# Distributed under the terms of the GNU General Public License, v2 or later
3# Author First Last <your email> 3# Author First Last <your email>
4# $Header: /var/cvsroot/gentoo-x86/Attic/skel.build,v 1.6 2001/08/19 00:26:21 pete Exp $ 4# $Header: /var/cvsroot/gentoo-x86/Attic/skel.build,v 1.7 2001/08/25 21:15:08 chadh Exp $
5 5
6#Remeber to add the proper Author line, above. Don't worry about the fourth line; 6#Remeber to add the proper Author line, above. Don't worry about the
7#it'll get automatically fixed when the ebuild is checked in 7# fourth line; it'll get automatically fixed when the ebuild is checked in
8 8
9#Source directory; the dir where the sources can be found (automatically unpacked) 9#Source directory; the dir where the sources can be found (automatically
10#inside ${WORKDIR} 10# unpacked) inside ${WORKDIR}
11S=${WORKDIR}/${P} 11S=${WORKDIR}/${P}
12 12
13#Short one-line description 13#Short one-line description
14DESCRIPTION="This is a sample skeleton ebuild file" 14DESCRIPTION="This is a sample skeleton ebuild file"
15 15
16#Point to any required sources; these will be automatically downloaded by Portage 16#Point to any required sources; these will be automatically downloaded
17# by Portage
17SRC_URI="ftp://foo.bar.com/${P}.tar.gz" 18SRC_URI="ftp://foo.bar.com/${P}.tar.gz"
18 19
19#Homepage, not used by Portage directly but handy for developer reference 20#Homepage, not used by Portage directly but handy for developer reference
20HOMEPAGE="http://" 21HOMEPAGE="http://"
21 22
24 25
25#run-time dependencies, same as DEPEND if RDEPEND isn't defined: 26#run-time dependencies, same as DEPEND if RDEPEND isn't defined:
26#RDEPEND="" 27#RDEPEND=""
27 28
28src_compile() { 29src_compile() {
29 #the "try" command will stop the build process if the specified command fails. Prefix critical 30 #the "try" command will stop the build process if the specified
31 #command fails. Prefix critical
30 #commands with "try" 32 #commands with "try"
31 ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} || die 33 ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} || die
32 #Note the use of --infodir and --mandir, above. This is to make this package FHS 2.2-compliant 34 #Note the use of --infodir and --mandir, above. This is to make
35 # this package FHS 2.2-compliant
33 #(/usr/share is used for info and man now). 36 #(/usr/share is used for info and man now).
34 37
35 emake || die 38 emake || die
36 #emake (previously known as pmake) is a script that calls the standard GNU make with parallel 39 #emake (previously known as pmake) is a script that calls the standard
40 # GNU make with parallel
37 #building options for speedier builds on SMP systems. Use emake first; it might not work. If 41 #building options for speedier builds on SMP systems. Use emake first;
38 #not, then replace the line above with: 42 # it might not work. If not, then replace the line above with:
39 43
40 #make || die 44 #make || die
41} 45}
42 46
43src_install () { 47src_install () {
44 #you must *personally verify* that this trick doesn't install 48 #you must *personally verify* that this trick doesn't install

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20