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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat May 23 00:24:39 2015 UTC (3 years, 6 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )

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-r1.ebuild,v 1.2 2011/05/30 11:39:21 jer 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 || die
28 insinto /etc/logrotate.d
29 newins "${FILESDIR}"/acct.logrotate acct || die
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