/[gentoo-x86]/skel.ebuild
Gentoo

Diff of /skel.ebuild

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

Revision 1.15 Revision 1.17
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
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.15 2002/10/18 18:52:09 blizzy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/skel.ebuild,v 1.17 2002/11/08 22:03:45 seemant 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.
13 13
14# Short one-line description of this package. 14# Short one-line description of this package.
15DESCRIPTION="This is a sample skeleton ebuild file" 15DESCRIPTION="This is a sample skeleton ebuild file"
16 16
17# Homepage, not used by Portage directly but handy for developer reference 17# Homepage, not used by Portage directly but handy for developer reference
18HOMEPAGE="http://foo.bar.com" 18HOMEPAGE="http://foo.bar.com/"
19 19
20# Point to any required sources; these will be automatically downloaded by 20# Point to any required sources; these will be automatically downloaded by
21# Portage. 21# Portage.
22SRC_URI="ftp://foo.bar.com/${P}.tar.gz" 22SRC_URI="ftp://foo.bar.com/${P}.tar.gz"
23 23
71#RDEPEND="" 71#RDEPEND=""
72 72
73# Source directory; the dir where the sources can be found (automatically 73# Source directory; the dir where the sources can be found (automatically
74# unpacked) inside ${WORKDIR}. S will get a default setting of ${WORKDIR}/${P} 74# unpacked) inside ${WORKDIR}. S will get a default setting of ${WORKDIR}/${P}
75# if you omit this line. 75# if you omit this line.
76
77S="${WORKDIR}/${P}" 76S="${WORKDIR}/${P}"
78 77
79src_compile() { 78src_compile() {
80 # Most open-source packages use GNU autoconf for configuration. 79 # Most open-source packages use GNU autoconf for configuration.
81 # You should use something similar to the following lines to 80 # You should use something similar to the following lines to
90 --infodir=/usr/share/info \ 89 --infodir=/usr/share/info \
91 --mandir=/usr/share/man || die "./configure failed" 90 --mandir=/usr/share/man || die "./configure failed"
92 # Note the use of --infodir and --mandir, above. This is to make 91 # Note the use of --infodir and --mandir, above. This is to make
93 # this package FHS 2.2-compliant. For more information, see 92 # this package FHS 2.2-compliant. For more information, see
94 # http://www.pathname.com/fhs/ 93 # http://www.pathname.com/fhs/
94
95 # Also note that it is cleaner and easier to use econf, which is the
96 # portage shortcut to the above ./configure statement:
97 #
98 # econf
95 99
96 # emake (previously known as pmake) is a script that calls the 100 # emake (previously known as pmake) is a script that calls the
97 # standard GNU make with parallel building options for speedier 101 # standard GNU make with parallel building options for speedier
98 # builds (especially on SMP systems). Try emake first. It might 102 # builds (especially on SMP systems). Try emake first. It might
99 # not work for some packages, in which case you'll have to resort 103 # not work for some packages, in which case you'll have to resort
117 # mandir=${D}/usr/share/man \ 121 # mandir=${D}/usr/share/man \
118 # infodir=${D}/usr/share/info \ 122 # infodir=${D}/usr/share/info \
119 # install || die 123 # install || die
120 # Again, verify the Makefiles! We don't want anything falling 124 # Again, verify the Makefiles! We don't want anything falling
121 # outside of ${D}. 125 # outside of ${D}.
126
127 # The portage shortcut to the above command is simply:
128 #
129 #einstall || die
122} 130}

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20