summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-07-23 11:57:45 +0000
committerSebastian Pipping <sping@gentoo.org>2012-07-23 11:57:45 +0000
commiteb2743b07c88dac154bb3b27eb0016c2a8d9eb4e (patch)
tree5356f4736caf925606ef62d9b9a66f2f798f9963
parentFix comment grammar in default/linux/package.use.mask (diff)
downloadgentoo-2-eb2743b07c88dac154bb3b27eb0016c2a8d9eb4e.tar.gz
gentoo-2-eb2743b07c88dac154bb3b27eb0016c2a8d9eb4e.tar.bz2
gentoo-2-eb2743b07c88dac154bb3b27eb0016c2a8d9eb4e.zip
sys-process/atop: 1.27-3
(Portage version: 2.1.10.65/cvs/Linux x86_64)
-rw-r--r--sys-process/atop/ChangeLog7
-rw-r--r--sys-process/atop/atop-1.27_p3.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/sys-process/atop/ChangeLog b/sys-process/atop/ChangeLog
index 2f85381147e0..3274c7c124b6 100644
--- a/sys-process/atop/ChangeLog
+++ b/sys-process/atop/ChangeLog
@@ -1,6 +1,11 @@
# 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.37 2012/01/09 21:45:56 sping Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/ChangeLog,v 1.38 2012/07/23 11:57:45 sping Exp $
+
+*atop-1.27_p3 (23 Jul 2012)
+
+ 23 Jul 2012; Sebastian Pipping <sping@gentoo.org> +atop-1.27_p3.ebuild:
+ Bump to 1.27-3
*atop-1.26-r1 (09 Jan 2012)
diff --git a/sys-process/atop/atop-1.27_p3.ebuild b/sys-process/atop/atop-1.27_p3.ebuild
new file mode 100644
index 000000000000..59b0542b7102
--- /dev/null
+++ b/sys-process/atop/atop-1.27_p3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/atop/atop-1.27_p3.ebuild,v 1.1 2012/07/23 11:57:45 sping Exp $
+
+EAPI="3"
+
+inherit eutils toolchain-funcs
+
+MY_PV=${PV//_p/-}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Resource-specific view of processes"
+HOMEPAGE="http://www.atoptool.nl/"
+SRC_URI="http://www.atoptool.nl/download/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~x86"
+IUSE=""
+
+DEPEND="sys-process/acct"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i \
+ -e '/^CFLAGS/s: = -O : += :' \
+ -e '/^LDFLAGS/s: = : += :' \
+ -e 's:\<cc\>:$(CC):' \
+ Makefile
+ tc-export CC
+ cp "${FILESDIR}"/atop.rc atop.init
+ chmod a+rx atop.init
+ sed -i 's: root : :' atop.cron #191926
+}
+
+src_install() {
+ emake DESTDIR="${D}" INIPATH=/etc/init.d install || die
+ # useless -${PV} copies ?
+ rm -f "${D}"/usr/bin/atop*-${PV}
+ dodoc README "${D}"/etc/cron.d/*
+ rm -r "${D}"/etc/cron.d || die
+}