wok view powertop/receipt @ rev 23728
updated vzquota (3.0.12 -> 3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 01 06:58:50 2020 +0100 (2020-05-01) |
parents | 51c5bf425b07 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="powertop"
4 VERSION="2.11"
5 CATEGORY="system-tools"
6 TAGS="power-management"
7 SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption."
8 MAINTAINER="domcox@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.lesswatts.org/projects/powertop/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/fenrus75/$PACKAGE/archive/v$VERSION.tar.gz"
15 DEPENDS="gcc83-lib-base libnl ncursesw pciutils zlib"
16 BUILD_DEPENDS="acl autoconf automake diffutils file gcc83 gettext libnl-dev
17 libtool ncursesw-dev pciutils-dev zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac
23 # sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in
24 cp $stuff/version $src/scripts
26 ./autogen.sh &&
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 }