Magellan Linux

Annotation of /trunk/todo/powertop/powertop-1.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2524 - (hide annotations) (download)
Thu Jul 9 20:26:41 2009 UTC (14 years, 11 months ago) by niro
File size: 729 byte(s)
-moved to 'todo'
1 niro 2 # $Header$
2    
3     PNAME="powertop"
4     PVER="1.9"
5     PBUILD="r1"
6    
7     PCATEGORIE="sys-apps"
8     STATE="unstable"
9    
10     DESCRIPTION="PowerTOP is a tool that finds the software components that use more power than necessary while idle."
11     HOMEPAGE="http://www.lesswatts.org/projects/powertop/"
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 mbuild
22    
23     SRC_URI=(
24     http://www.lesswatts.org/projects/${PNAME}/download/${SRCFILE}
25     mirror://${PNAME}/${SRCFILE}
26     )
27    
28     src_prepare()
29     {
30     munpack ${SRCDIR} || 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     }

Properties

Name Value
svn:keywords Id