/[gentoo-x86]/sys-process/acct/acct-6.5.5.ebuild
Gentoo

Contents of /sys-process/acct/acct-6.5.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon May 30 11:39:21 2011 UTC (7 years ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Move to stable since there was no functional difference anyway.

(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-process/acct/acct-6.5.5.ebuild,v 1.6 2011/01/23 14:52:48 armin76 Exp $
4
5 EAPI="2"
6
7 inherit eutils
8
9 DESCRIPTION="GNU system accounting utilities"
10 HOMEPAGE="https://savannah.gnu.org/projects/acct/"
11 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="alpha amd64 hppa ppc x86"
16 IUSE=""
17
18 src_configure() {
19 econf --enable-linux-multiformat
20 }
21
22 src_install() {
23 emake install DESTDIR="${D}" || die
24 dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
25 keepdir /var/account
26 newinitd "${FILESDIR}"/acct.initd acct || die
27 newconfd "${FILESDIR}"/acct.confd acct
28 insinto /etc/logrotate.d
29 newins "${FILESDIR}"/acct.logrotate acct
30
31 # sys-apps/sysvinit already provides this
32 rm "${D}"/usr/bin/last "${D}"/usr/share/man/man1/last.1 || die
33
34 # accton in / is only a temp workaround for #239748
35 dodir /sbin
36 mv "${D}"/usr/sbin/accton "${D}"/sbin/ || die
37 }

  ViewVC Help
Powered by ViewVC 1.1.20