/[gentoo-x86]/skel.ebuild
Gentoo

Contents of /skel.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue May 7 03:58:19 2002 UTC (12 years, 7 months ago) by drobbins
Branch: MAIN
Changes since 1.5: +18 -21 lines
skel updates

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/skel.ebuild,v 1.5 2002/04/29 22:56:53 sandymac Exp $
4
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
7 # remember to remove them before submitting or committing your ebuild. That
8 # doesn't mean you can't add your own comments though.
9
10 # The 'Header' on the third line should just be left alone. When your ebuild
11 # will be commited to cvs, the details on that line will be automatically
12 # generated to contain the correct data.
13
14 # Source directory; the dir where the sources can be found (automatically
15 # unpacked) inside ${WORKDIR}. S will get a default setting of ${WORKDIR}/${P}
16 # if you omit this line.
17
18 S=${WORKDIR}/${P}
19
20 # Short one-line description of this package.
21 DESCRIPTION="This is a sample skeleton ebuild file"
22
23 # Point to any required sources; these will be automatically downloaded by
24 # Portage.
25 SRC_URI="ftp://foo.bar.com/${P}.tar.gz"
26
27 # Homepage, not used by Portage directly but handy for developer reference
28 HOMEPAGE="http://"
29
30 # License of the package. This must match the name of file(s) in
31 # /usr/portage/licenses/. For complex license combination see the developer
32 # docs on gentoo.org for details.
33 LICENSE=""
34
35 # Build-time dependencies, such as
36 # ssl? ( >=openssl-0.9.6b )
37 # >=perl-5.6.1-r1
38 # It is advisable to use the >= syntax show above, to reflect what you
39 # had installed on your system when you tested the package. Then
40 # other users hopefully won't be caught without the right version of
41 # a dependency.
42 DEPEND=""
43
44 # Run-time dependencies, same as DEPEND if RDEPEND isn't defined:
45 #RDEPEND=""
46
47 src_compile() {
48 # Most open-source packages use GNU autoconf for configuration.
49 # You should use something similar to the following lines to
50 # configure your package before compilation. The "|| die" portion
51 # at the end will stop the build process if the command fails.
52 # You should use this at the end of critical commands in the build
53 # process. (Hint: Most commands are critical, that is, the build
54 # process should abort if they aren't successful.)
55 ./configure \
56 --host=${CHOST} \
57 --prefix=/usr \
58 --infodir=/usr/share/info \
59 --mandir=/usr/share/man || die "./configure failed"
60 # Note the use of --infodir and --mandir, above. This is to make
61 # this package FHS 2.2-compliant. For more information, see
62 # http://www.pathname.com/fhs/
63
64 # emake (previously known as pmake) is a script that calls the
65 # standard GNU make with parallel building options for speedier
66 # builds (especially on SMP systems). Try emake first. It might
67 # not work for some packages, in which case you'll have to resort
68 # to normal "make".
69 emake || die
70 #make || die
71 }
72
73 src_install () {
74 # You must *personally verify* that this trick doesn't install
75 # anything outside of DESTDIR; do this by reading and
76 # understanding the install part of the Makefiles.
77 make DESTDIR=${D} install || die
78 # For Makefiles that don't make proper use of DESTDIR, setting
79 # prefix is often an alternative. However if you do this, then
80 # you also need to specify mandir and infodir, since they were
81 # passed to ./configure as absolute paths (overriding the prefix
82 # setting).
83 #make \
84 # prefix=${D}/usr \
85 # mandir=${D}/usr/share/man \
86 # infodir=${D}/usr/share/info \
87 # install || die
88 # Again, verify the Makefiles! We don't want anything falling
89 # outside of ${D}.
90 }

  ViewVC Help
Powered by ViewVC 1.1.20