Gentoo Archives: gentoo-commits

From: "Wolfram Schlich (wschlich)" <wschlich@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/htop: ChangeLog htop-0.8.1.ebuild
Date: Mon, 06 Oct 2008 15:08:42
Message-Id: E1KmrhP-0005gB-EC@stork.gentoo.org
1 wschlich 08/10/06 15:08:39
2
3 Modified: ChangeLog
4 Added: htop-0.8.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.24-gentoo-r5-1 i686)
8
9 Revision Changes Path
10 1.59 sys-process/htop/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/ChangeLog?rev=1.59&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/ChangeLog?rev=1.59&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/ChangeLog?r1=1.58&r2=1.59
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v
19 retrieving revision 1.58
20 retrieving revision 1.59
21 diff -u -r1.58 -r1.59
22 --- ChangeLog 18 Sep 2008 08:43:39 -0000 1.58
23 +++ ChangeLog 6 Oct 2008 15:08:38 -0000 1.59
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-process/htop
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.58 2008/09/18 08:43:39 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-process/htop/ChangeLog,v 1.59 2008/10/06 15:08:38 wschlich Exp $
29 +
30 +*htop-0.8.1 (06 Oct 2008)
31 +
32 + 06 Oct 2008; Wolfram Schlich <wschlich@g.o> +htop-0.8.1.ebuild:
33 + version bump
34
35 18 Sep 2008; Raúl Porcel <armin76@g.o> htop-0.8-r1.ebuild:
36 Add ~sh
37
38
39
40 1.1 sys-process/htop/htop-0.8.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/htop-0.8.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/htop/htop-0.8.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: htop-0.8.1.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-process/htop/htop-0.8.1.ebuild,v 1.1 2008/10/06 15:08:38 wschlich Exp $
50
51 inherit eutils flag-o-matic
52
53 IUSE="debug unicode"
54 DESCRIPTION="interactive process viewer"
55 HOMEPAGE="http://htop.sourceforge.net"
56 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
60 DEPEND="sys-libs/ncurses"
61
62 pkg_setup() {
63 if use elibc_FreeBSD ; then
64 elog
65 elog "htop needs /proc mounted to work, to mount it type"
66 elog "mount -t linprocfs none /proc"
67 elog "or uncomment the example in /etc/fstab"
68 elog
69 fi
70 }
71
72 src_compile() {
73 if use unicode && ! built_with_use sys-libs/ncurses unicode; then
74 die "for unicode support of htop, sys-libs/ncurses must be emerged with USE=unicode"
75 fi
76 useq debug && append-flags -O -ggdb -DDEBUG
77 econf \
78 --enable-taskstats \
79 $(use_enable unicode) \
80 || die "configure failed"
81 emake || die "make failed"
82 }
83
84 src_install() {
85 emake DESTDIR="${D}" install || die "make install failed"
86 dodoc README ChangeLog TODO
87 }