wok-next view powertop/receipt @ rev 20772
gnuchess: up (6.2.5)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 19:46:11 2018 +0300 (2018-06-06) |
parents | d43bf7aae921 |
children | a3c581bf52b8 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="powertop"
4 VERSION="2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utility designed to measure and explain a computer's electrical \
7 power consumption"
8 MAINTAINER="domcox@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.lesswatts.org/projects/powertop/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL"
15 BUILD_DEPENDS="acl gettext ncurses-dev autoconf automake libtool \
16 pciutils-dev libnl-dev zlib-dev gettext diffutils"
18 compile_rules() {
19 sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac
20 sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in
21 ./autogen.sh
23 ./configure &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="ncurses pciutils libnl zlib gcc-lib-base"
32 TAGS="power-management"
33 }