wok-next view powertop/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
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 }