Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/htop: htop-0.8.3.ebuild htop-0.8.2.ebuild htop-0.8.1-r1.ebuild
Date: Mon, 03 May 2010 18:36:23
Message-Id: 20100503175741.65B9D2C39E@corvid.gentoo.org
1 ssuominen 10/05/03 17:57:41
2
3 Modified: htop-0.8.3.ebuild
4 Removed: htop-0.8.2.ebuild htop-0.8.1-r1.ebuild
5 Log:
6 clean up
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.8 sys-process/htop/htop-0.8.3.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/htop-0.8.3.ebuild?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/htop-0.8.3.ebuild?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/htop-0.8.3.ebuild?r1=1.7&r2=1.8
15
16 Index: htop-0.8.3.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-process/htop/htop-0.8.3.ebuild,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- htop-0.8.3.ebuild 30 Apr 2010 21:48:10 -0000 1.7
23 +++ htop-0.8.3.ebuild 3 May 2010 17:57:41 -0000 1.8
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/htop-0.8.3.ebuild,v 1.7 2010/04/30 21:48:10 darkside Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/htop-0.8.3.ebuild,v 1.8 2010/05/03 17:57:41 ssuominen Exp $
29
30 EAPI=3
31 inherit eutils flag-o-matic multilib
32 @@ -15,10 +15,9 @@
33 IUSE="debug"
34
35 DEPEND="sys-libs/ncurses[unicode]"
36 -RDEPEND="${DEPEND}"
37
38 pkg_setup() {
39 - if use elibc_FreeBSD && ! [[ -f "${ROOT}"/proc/stat && -f "${ROOT}"/proc/meminfo ]] ; then
40 + if use elibc_FreeBSD && ! [[ -f ${ROOT}/proc/stat && -f ${ROOT}/proc/meminfo ]]; then
41 eerror
42 eerror "htop needs /proc mounted to compile and work, to mount it type"
43 eerror "mount -t linprocfs none /proc"
44 @@ -27,7 +26,7 @@
45 die "htop needs /proc mounted"
46 fi
47
48 - if ! has_version sys-process/lsof ; then
49 + if ! has_version sys-process/lsof; then
50 ewarn "To use lsof features in htop(what processes are accessing"
51 ewarn "what files), you must have sys-process/lsof installed."
52 fi
53 @@ -38,14 +37,14 @@
54 }
55
56 src_configure() {
57 - useq debug && append-flags -O -ggdb -DDEBUG
58 + useq debug && append-flags -DDEBUG
59 econf \
60 --enable-taskstats \
61 --enable-unicode
62 }
63
64 src_install() {
65 - emake DESTDIR="${D}" install || die "make install failed"
66 - dodoc README ChangeLog TODO || die "documentation installation failed."
67 - rmdir "${ED}"/usr/{include,$(get_libdir)} || die "Removing empty directory failed."
68 + emake DESTDIR="${D}" install || die
69 + dodoc README ChangeLog TODO || die
70 + rmdir "${ED}"/usr/{include,$(get_libdir)} || die
71 }