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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Dec 5 18:18:26 2010 UTC (7 years, 7 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Old.

(Portage version: 2.1.9.25/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.ebuild,v 1.7 2010/06/26 16:42:53 armin76 Exp $
4
5 DESCRIPTION="GNU system accounting utilities"
6 HOMEPAGE="https://savannah.gnu.org/projects/acct/"
7 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
8
9 LICENSE="GPL-3"
10 SLOT="0"
11 KEYWORDS="alpha amd64 hppa ppc x86"
12 IUSE=""
13
14 src_compile() {
15 econf --enable-linux-multiformat
16 emake || die
17 }
18
19 src_install() {
20 emake install DESTDIR="${D}" || die
21 dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
22 keepdir /var/account
23 newinitd "${FILESDIR}"/acct.initd acct || die
24 newconfd "${FILESDIR}"/acct.confd acct
25
26 # sys-apps/sysvinit already provides this
27 rm "${D}"/usr/bin/last "${D}"/usr/share/man/man1/last.1 || die
28
29 # accton in / is only a temp workaround for #239748
30 dodir /sbin
31 mv "${D}"/usr/sbin/accton "${D}"/sbin/ || die
32 }

  ViewVC Help
Powered by ViewVC 1.1.20