wok-current view powertop/receipt @ rev 24285
updated slurm (0.3.3 -> 0.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 13 13:36:16 2022 +0100 (2022-01-13) |
parents | 16b4527b6823 |
children | ac8ca9758df1 |
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 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac
29 # sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in
30 cp $stuff/version $src/scripts
32 ./autogen.sh &&
33 ./configure \
34 CC=gcc-83 \
35 CXX=g++-83 &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 }