# $Header$ PNAME="powertop" PVER="1.9" PBUILD="r1" PCATEGORIE="sys-apps" STATE="unstable" DESCRIPTION="PowerTOP is a tool that finds the software components that use more power than necessary while idle." HOMEPAGE="http://www.lesswatts.org/projects/powertop/" DEPEND=">= dev-libs/glib2-2.16 >= sys-libs/ncurses-5.6" SDEPEND=">= sys-apps/sed-4" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://www.lesswatts.org/projects/${PNAME}/download/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) src_prepare() { munpack ${SRCDIR} || die cd ${SRCDIR} # fix ncurses linkage sed -i "s:-lncursesw:-lncurses:g" Makefile || die } src_compile() { cd ${SRCDIR} mmake || die }