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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Nov 8 09:54:10 2014 UTC (3 years, 7 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Version bump.

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

1 # Copyright 1999-2014 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.6.1.ebuild,v 1.2 2014/08/13 03:59:48 vapier Exp $
4
5 EAPI=5
6 inherit autotools base systemd
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 PATCHES=(
18 "${FILESDIR}"/${PN}-6.6.2-cross-compile.patch
19 "${FILESDIR}"/${PN}-6.6.1-no-gets.patch
20 )
21
22 src_prepare() {
23 base_src_prepare
24 eautoreconf
25 }
26
27 src_configure() {
28 econf --enable-linux-multiformat
29 }
30
31 src_install() {
32 default
33 keepdir /var/account
34 newinitd "${FILESDIR}"/acct.initd acct
35 newconfd "${FILESDIR}"/acct.confd acct
36 systemd_dounit "${FILESDIR}"/acct.service
37 insinto /etc/logrotate.d
38 newins "${FILESDIR}"/acct.logrotate acct
39
40 # sys-apps/sysvinit already provides this
41 rm "${ED}"/usr/bin/last "${ED}"/usr/share/man/man1/last.1 || die
42
43 # accton in / is only a temp workaround for #239748
44 dodir /sbin
45 mv "${ED}"/usr/sbin/accton "${ED}"/sbin/ || die
46 }

  ViewVC Help
Powered by ViewVC 1.1.20