wok view powertop/receipt @ rev 25267

Update some deps using gcc83-lib-base
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 17 08:24:48 2022 +0000 (2022-07-17)
parents ac8ca9758df1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="powertop"
4 VERSION="2.14"
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="https://github.com/fenrus75/powertop"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
15 DEPENDS="gcc83-lib-base libnl ncursesw pciutils zlib"
16 BUILD_DEPENDS="acl automake diffutils gcc83 gettext libnl-dev libtool ncursesw-dev
17 pciutils-dev zlib-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 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
31 cp $stuff/version $src/scripts
33 ./autogen.sh &&
34 ./configure \
35 CC=gcc-83 \
36 CXX=g++-83 &&
37 make &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_folders sbin
45 }