Contents of /trunk/todo/latencytop/latencytop-0.4-r1.smage2
Parent Directory | Revision Log
Revision 2416 -
(show annotations)
(download)
Thu Jul 9 19:53:16 2009 UTC (15 years, 2 months ago) by niro
File size: 947 byte(s)
Thu Jul 9 19:53:16 2009 UTC (15 years, 2 months ago) by niro
File size: 947 byte(s)
-moved to 'todo'
1 | # $Header: /magellan-cvs/smage/latencytop/latencytop-0.4-r1.smage2,v 1.3 2008/05/22 16:07:17 niro Exp $ |
2 | |
3 | PNAME="latencytop" |
4 | PVER="0.4" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="sys-apps" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="LatencyTOP - measuring and fixing Linux latency." |
11 | HOMEPAGE="http://www.latencytop.org/" |
12 | |
13 | DEPEND=">= dev-libs/glib2-2.16 |
14 | >= sys-libs/ncurses-5.6" |
15 | |
16 | SDEPEND=">= sys-apps/sed-4" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude mtools |
22 | |
23 | SRC_URI=( |
24 | http://www.latencytop.org/download/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # fix ncurses linkage |
34 | sed -i "s:-lncursesw:-lncurses:g" Makefile || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | mmake || die |
41 | } |
42 | |
43 | src_install() |
44 | { |
45 | cd ${SRCDIR} |
46 | minstalldir /usr/sbin || die |
47 | minstallexec latencytop /usr/sbin || die |
48 | |
49 | minstalldir /usr/share/latencytop || die |
50 | minstallfile latencytop.trans /usr/share/latencytop || die |
51 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |