wok view powertop/receipt @ rev 5406

Up: mtpaint (3.31) - Added bzip2 and acl to build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 02 23:15:57 2010 +0000 (2010-05-02)
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 }