wok annotate powertop/receipt @ rev 25173
updated python-ethtool (0.14 -> 0.15)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:05:43 2022 +0100 (2022-07-01) |
parents | ac8ca9758df1 |
children |
rev | line source |
---|---|
domcox@1252 | 1 # SliTaz package receipt. |
domcox@1252 | 2 |
domcox@1252 | 3 PACKAGE="powertop" |
Hans-G?nter@25147 | 4 VERSION="2.14" |
domcox@1252 | 5 CATEGORY="system-tools" |
Hans-G?nter@23444 | 6 TAGS="power-management" |
Hans-G?nter@23444 | 7 SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption." |
domcox@3474 | 8 MAINTAINER="domcox@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
Hans-G?nter@25147 | 10 WEB_SITE="https://github.com/fenrus75/powertop" |
domcox@1252 | 11 |
Hans-G?nter@23444 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25147 | 13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
Hans-G?nter@23444 | 14 |
Hans-G?nter@23444 | 15 DEPENDS="gcc83-lib-base libnl ncursesw pciutils zlib" |
Hans-G?nter@25147 | 16 BUILD_DEPENDS="acl automake diffutils gcc83 gettext libnl-dev libtool ncursesw-dev |
Hans-G?nter@25147 | 17 pciutils-dev zlib-dev" |
pascal@13411 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24299 | 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
domcox@1252 | 25 # Rules to configure and make the package. |
domcox@1252 | 26 compile_rules() |
domcox@1252 | 27 { |
Hans-G?nter@23445 | 28 # sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac |
Hans-G?nter@23445 | 29 # sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in |
Hans-G?nter@25147 | 30 |
Hans-G?nter@23444 | 31 cp $stuff/version $src/scripts |
Hans-G?nter@23444 | 32 |
Hans-G?nter@23444 | 33 ./autogen.sh && |
Hans-G?nter@23444 | 34 ./configure \ |
Hans-G?nter@23444 | 35 CC=gcc-83 \ |
Hans-G?nter@23444 | 36 CXX=g++-83 && |
Hans-G?nter@23444 | 37 make && |
Hans-G?nter@23444 | 38 make install |
domcox@1252 | 39 } |
domcox@1252 | 40 |
domcox@1252 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1252 | 42 genpkg_rules() |
domcox@1252 | 43 { |
Hans-G?nter@25147 | 44 cook_copy_folders sbin |
domcox@1252 | 45 } |