wok-next view powertop/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
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 }