wok-next view powertop/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a3c581bf52b8 |
children |
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="devel@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://01.org/powertop/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL"
15 BUILD_DEPENDS="acl gettext-dev ncurses-dev autoconf automake libtool \
16 pciutils-dev libnl-dev zlib-dev 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 }