Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/htop: ChangeLog htop-0.8.3.ebuild
Date: Tue, 01 Sep 2009 02:55:28
Message-Id: E1MiOLf-00085A-7C@stork.gentoo.org
1 patrick 09/09/01 08:04:15
2
3 Modified: ChangeLog
4 Added: htop-0.8.3.ebuild
5 Log:
6 Bump to 0.8.3, fixes #282523
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.76 sys-process/htop/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/ChangeLog?rev=1.76&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/ChangeLog?rev=1.76&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/ChangeLog?r1=1.75&r2=1.76
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v
19 retrieving revision 1.75
20 retrieving revision 1.76
21 diff -u -r1.75 -r1.76
22 --- ChangeLog 13 Jun 2009 12:40:41 -0000 1.75
23 +++ ChangeLog 1 Sep 2009 08:04:14 -0000 1.76
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-process/htop
26 -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.75 2009/06/13 12:40:41 gentoofan23 Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.76 2009/09/01 08:04:14 patrick Exp $
30 +
31 +*htop-0.8.3 (01 Sep 2009)
32 +
33 + 01 Sep 2009; Patrick Lauer <patrick@g.o> +htop-0.8.3.ebuild:
34 + Bump to 0.8.3, fixes #282523
35
36 *htop-0.8.2 (13 Jun 2009)
37
38
39
40
41 1.1 sys-process/htop/htop-0.8.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/htop-0.8.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/htop-0.8.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: htop-0.8.3.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-process/htop/htop-0.8.3.ebuild,v 1.1 2009/09/01 08:04:14 patrick Exp $
51
52 EAPI="2"
53 inherit eutils flag-o-matic multilib
54
55 DESCRIPTION="interactive process viewer"
56 HOMEPAGE="http://htop.sourceforge.net"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
62 IUSE="debug"
63
64 DEPEND="sys-libs/ncurses[unicode]"
65 RDEPEND="${DEPEND}"
66
67 pkg_setup() {
68 if use elibc_FreeBSD && ! [[ -f "${ROOT}"/proc/stat && -f "${ROOT}"/proc/meminfo ]] ; then
69 eerror
70 eerror "htop needs /proc mounted to compile and work, to mount it type"
71 eerror "mount -t linprocfs none /proc"
72 eerror "or uncomment the example in /etc/fstab"
73 eerror
74 die "htop needs /proc mounted"
75 fi
76
77 if ! has_version sys-process/lsof ; then
78 ewarn "To use lsof features in htop(what processes are accessing"
79 ewarn "what files), you must have sys-process/lsof installed."
80 fi
81 }
82
83 src_prepare() {
84 epatch "${FILESDIR}"/${PN}-0.8.1-non-printable-char-filter.patch
85 }
86
87 src_configure() {
88 useq debug && append-flags -O -ggdb -DDEBUG
89 econf \
90 --enable-taskstats \
91 --enable-unicode
92 }
93
94 src_install() {
95 emake DESTDIR="${D}" install || die "make install failed"
96 dodoc README ChangeLog TODO || die "documentation installation failed."
97 rmdir "${D}"/usr/{include,$(get_libdir)} || die "Removing empty directory failed."
98 }