wok-6.x view powertop/receipt @ rev 6055

slim: Upgrade to 1.3.2
author Matthew Sheets <rcx@zoominternet.net>
date Thu Aug 19 20:55:56 2010 +0000 (2010-08-19)
parents eb04f16915c1
children 283c2a26b28c
line source
1 # SliTaz package receipt.
3 PACKAGE="powertop"
4 VERSION="1.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption"
7 MAINTAINER="domcox@slitaz.org"
8 DEPENDS="ncursesw"
9 BUILD_DEPENDS="acl gettext ncursesw-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.lesswatts.org/projects/powertop/"
12 WGET_URL="http://www.lesswatts.org/projects/powertop/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 strip -s $fs/usr/bin/*
28 }