summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-08-07 17:22:35 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-08-07 17:22:35 +0000
commit6bab97bb64b3652ea24011d020ca0209f72d3e1a (patch)
tree9f6775abf4991df1320c94cf158717c68691f791 /sys-process/atop
parentKeyword amd64-linux and x86-linux (diff)
downloadgentoo-2-6bab97bb64b3652ea24011d020ca0209f72d3e1a.tar.gz
gentoo-2-6bab97bb64b3652ea24011d020ca0209f72d3e1a.tar.bz2
gentoo-2-6bab97bb64b3652ea24011d020ca0209f72d3e1a.zip
Keyword amd64-linux and x86-linux
(Portage version: 2.2.01.22124-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sys-process/atop')
-rw-r--r--sys-process/atop/ChangeLog7
-rw-r--r--sys-process/atop/atop-2.0.2.ebuild14
2 files changed, 13 insertions, 8 deletions
diff --git a/sys-process/atop/ChangeLog b/sys-process/atop/ChangeLog
index d648acf47a9a..d75acb3e711f 100644
--- a/sys-process/atop/ChangeLog
+++ b/sys-process/atop/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-process/atop
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v 1.45 2012/12/24 02:44:34 vapier Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v 1.46 2013/08/07 17:22:35 bicatali Exp $
+
+ 07 Aug 2013; Sébastien Fabbro <bicatali@gentoo.org> atop-2.0.2.ebuild:
+ Keyword amd64-linux and x86-linux
*atop-2.0.2 (24 Dec 2012)
diff --git a/sys-process/atop/atop-2.0.2.ebuild b/sys-process/atop/atop-2.0.2.ebuild
index d98461fa58cc..cf8942627de2 100644
--- a/sys-process/atop/atop-2.0.2.ebuild
+++ b/sys-process/atop/atop-2.0.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/atop-2.0.2.ebuild,v 1.1 2012/12/24 02:44:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/atop-2.0.2.ebuild,v 1.2 2013/08/07 17:22:35 bicatali Exp $
EAPI="4"
@@ -15,7 +15,7 @@ SRC_URI="http://www.atoptool.nl/download/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="sys-process/acct"
@@ -28,12 +28,14 @@ src_prepare() {
cp "${FILESDIR}"/atop.rc atop.init
chmod a+rx atop.init
sed -i 's: root : :' atop.cron #191926
+ # prefixify
+ sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile
}
src_install() {
default
# useless -${PV} copies ?
- rm -f "${D}"/usr/bin/atop*-${PV}
- dodoc "${D}"/etc/cron.d/*
- rm -r "${D}"/etc/cron.d || die
+ rm -f "${ED}"/usr/bin/atop*-${PV}
+ dodoc "${ED}"/etc/cron.d/*
+ rm -r "${ED}"/etc/cron.d || die
}