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

Contents of /sys-process/acct/acct-6.5.4-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Jan 26 05:15:34 2011 UTC (7 years, 10 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Old.

(Portage version: 2.2.0_alpha19/cvs/Linux i686)

1 # Copyright 1999-2010 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.4-r2.ebuild,v 1.5 2010/12/05 17:44:57 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_prepare() {
19 epatch "${FILESDIR}"/${P}-nan.patch
20 }
21
22 src_configure() {
23 econf --enable-linux-multiformat
24 }
25
26 src_install() {
27 emake install DESTDIR="${D}" || die
28 dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
29 keepdir /var/account
30 newinitd "${FILESDIR}"/acct.initd acct || die
31 newconfd "${FILESDIR}"/acct.confd acct
32 insinto /etc/logrotate.d
33 newins "${FILESDIR}"/acct.logrotate acct
34
35 # sys-apps/sysvinit already provides this
36 rm "${D}"/usr/bin/last "${D}"/usr/share/man/man1/last.1 || die
37
38 # accton in / is only a temp workaround for #239748
39 dodir /sbin
40 mv "${D}"/usr/sbin/accton "${D}"/sbin/ || die
41 }

  ViewVC Help
Powered by ViewVC 1.1.20