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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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

1 # Copyright 1999-2013 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-r2.ebuild,v 1.13 2013/08/08 02:01:18 mr_bones_ Exp $
4
5 EAPI=3
6 inherit eutils autotools
7
8 DESCRIPTION="GNU system accounting utilities"
9 HOMEPAGE="https://savannah.gnu.org/projects/acct/"
10 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux"
15 IUSE=""
16
17 src_prepare() {
18 epatch \
19 "${FILESDIR}"/${PN}-6.5.5-cross-compile.patch \
20 "${FILESDIR}"/${PN}-6.5.5-no-gets.patch
21 eautoreconf
22 }
23
24 src_configure() {
25 econf --enable-linux-multiformat
26 }
27
28 src_install() {
29 emake install DESTDIR="${D}" || die
30 dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
31 keepdir /var/account
32 newinitd "${FILESDIR}"/acct.initd acct || die
33 newconfd "${FILESDIR}"/acct.confd acct || die
34 insinto /etc/logrotate.d
35 newins "${FILESDIR}"/acct.logrotate acct || die
36
37 # sys-apps/sysvinit already provides this
38 rm "${ED}"/usr/bin/last "${ED}"/usr/share/man/man1/last.1 || die
39
40 # accton in / is only a temp workaround for #239748
41 dodir /sbin
42 mv "${ED}"/usr/sbin/accton "${ED}"/sbin/ || die
43 }

  ViewVC Help
Powered by ViewVC 1.1.20