summaryrefslogtreecommitdiff
blob: 8784d41517e0a59951d65e8d9419df3f3173d89b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-process/acctail/acctail-2.0.ebuild,v 1.1 2006/02/25 10:30:55 robbat2 Exp $

inherit eutils toolchain-funcs
DESCRIPTION="shows all processes as they exit, along with the accounting information"
HOMEPAGE="http://www.vanheusden.com/acctail/"
SRC_URI="${HOMEPAGE}${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="virtual/libc
		sys-process/acct"

src_unpack() {
	unpack ${A}
	sed -i '/^CPPFLAGS+=/s:-O2::' "${S}"/Makefile || die "sed Makefile failed"
}

src_compile() {
	tc-export CC LD AR
	emake CC="${CC}" LD="${LD}" AR="${AR}" CFLAGS="${CFLAGS} -Wall" || die
}

src_install() {
	dobin ${PN}
	doman ${PN}.1
}