Gentoo Archives: gentoo-dev

From: Thomas Anderson <gentoofan23@g.o>
To: gentoo-dev@l.g.o, gregkh@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/bti: bti-007.ebuild ChangeLog metadata.xml Manifest
Date: Sun, 26 Oct 2008 17:36:34
Message-Id: 20081026173629.GA4330@spoc
1 On Sun, Oct 26, 2008 at 05:22:26PM +0000, Greg Kroah-Hartman (gregkh) wrote:
2 > # Copyright 1999-2008 Gentoo Foundation
3 > # Distributed under the terms of the GNU General Public License v2
4 > # $Header: /var/cvsroot/gentoo-x86/net-misc/bti/bti-007.ebuild,v 1.1 2008/10/26 17:22:26 gregkh Exp $
5 >
6 > RDEPEND="${DEPEND}"
7 >
8 > src_compile() {
9 > emake || die "emake failed"
10 > }
11 This is the default src_compile.
12 >
13 > src_install() {
14 > doman bti.1
15 > dobin bti
16 > dodoc bti.example README RELEASE-NOTES
17 > }
18 You really should have some or all of these functions die on failure.
19 Since that's all the ebuild installs, the package is completely
20 nonfunctional if bti is not installed(I'd die on all three but you don't
21 have to die on the last one).

Replies