wok view powertop/receipt @ rev 3820
Fix: acl-dev must have header files (libacl.h, acl*.h)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Aug 06 15:05:56 2009 +0200 (2009-08-06) |
parents | 711665cba8bb |
children | e73f4da5da34 |
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="ncurses"
9 BUILD_DEPENDS="ncurses-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 sed -i 's/lncursesw/lncurses/g' Makefile
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 strip -s $fs/usr/bin/*
29 }