wok-current annotate powertop/receipt @ rev 9523
Up: nasm to 2.09.08.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Apr 07 09:57:11 2011 +0000 (2011-04-07) |
parents | 87c39df98536 |
children | 1916b7d701ea |
rev | line source |
---|---|
domcox@1252 | 1 # SliTaz package receipt. |
domcox@1252 | 2 |
domcox@1252 | 3 PACKAGE="powertop" |
domcox@6085 | 4 VERSION="1.13" |
domcox@1252 | 5 CATEGORY="system-tools" |
domcox@1252 | 6 SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption" |
domcox@3474 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@5310 | 8 DEPENDS="ncursesw" |
domcox@5310 | 9 BUILD_DEPENDS="acl gettext ncursesw-dev" |
domcox@1252 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@1252 | 11 WEB_SITE="http://www.lesswatts.org/projects/powertop/" |
domcox@1252 | 12 WGET_URL="http://www.lesswatts.org/projects/powertop/download/$TARBALL" |
domcox@6097 | 13 TAGS="power-management" |
domcox@1252 | 14 |
domcox@1252 | 15 # Rules to configure and make the package. |
domcox@1252 | 16 compile_rules() |
domcox@1252 | 17 { |
domcox@1252 | 18 cd $src |
domcox@1252 | 19 make |
domcox@1252 | 20 make DESTDIR=$PWD/_pkg install |
domcox@1252 | 21 } |
domcox@1252 | 22 |
domcox@1252 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1252 | 24 genpkg_rules() |
domcox@1252 | 25 { |
domcox@1252 | 26 mkdir -p $fs/usr |
domcox@1252 | 27 cp -a $_pkg/usr/bin $fs/usr |
domcox@1252 | 28 } |
domcox@1252 | 29 |