Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-process/latencytop: ChangeLog latencytop-0.3.ebuild
Date: Thu, 24 Jan 2008 05:54:31
Message-Id: E1JHv2i-0000lz-L2@stork.gentoo.org
1 vapier 08/01/24 05:54:28
2
3 Modified: ChangeLog
4 Added: latencytop-0.3.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4)
8
9 Revision Changes Path
10 1.2 sys-process/latencytop/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/latencytop/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/latencytop/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/latencytop/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-process/latencytop/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 19 Jan 2008 21:24:55 -0000 1.1
23 +++ ChangeLog 24 Jan 2008 05:54:28 -0000 1.2
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-process/latencytop
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-process/latencytop/ChangeLog,v 1.1 2008/01/19 21:24:55 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-process/latencytop/ChangeLog,v 1.2 2008/01/24 05:54:28 vapier Exp $
29 +
30 +*latencytop-0.3 (24 Jan 2008)
31 +
32 + 24 Jan 2008; Mike Frysinger <vapier@g.o> +latencytop-0.3.ebuild:
33 + Version bump.
34
35 *latencytop-0.1 (19 Jan 2008)
36
37
38
39
40 1.1 sys-process/latencytop/latencytop-0.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/latencytop/latencytop-0.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-process/latencytop/latencytop-0.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: latencytop-0.3.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/latencytop/latencytop-0.3.ebuild,v 1.1 2008/01/24 05:54:28 vapier Exp $
50
51 inherit toolchain-funcs
52
53 DESCRIPTION="tool for identifying where in the system latency is happening"
54 HOMEPAGE="http://www.latencytop.org/"
55 SRC_URI="http://www.latencytop.org/download/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~x86"
60 IUSE="unicode"
61
62 RDEPEND="=dev-libs/glib-2*
63 sys-libs/ncurses"
64 DEPEND="${RDEPEND}
65 dev-util/pkgconfig"
66
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70 sed -i 's:latencytop.trans:/usr/share/misc/latencytop.trans:' latencytop.c || die
71 }
72
73 src_compile() {
74 # this sucks, but makefile is worse (for now)
75 use_echo() { use $1 && echo $2 || echo $3 ; }
76 echoit() { echo "$@" ; "$@" ; }
77 echoit \
78 $(tc-getCC) \
79 ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \
80 $(pkg-config glib-2.0 --cflags) \
81 *.c -o latencytop \
82 $(pkg-config glib-2.0 --libs) \
83 $(use_echo unicode -lncursesw -lncurses) \
84 || die
85 }
86
87 src_install() {
88 dosbin latencytop || die
89 insinto /usr/share/misc
90 doins latencytop.trans || die
91 }
92
93
94
95 --
96 gentoo-commits@l.g.o mailing list