wok-current annotate powertop/receipt @ rev 23445
updated powertop again (2.0 -> 2.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 02 16:17:16 2020 +0100 (2020-04-02) |
parents | 51c5bf425b07 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
domcox@1252 | 1 # SliTaz package receipt. |
domcox@1252 | 2 |
domcox@1252 | 3 PACKAGE="powertop" |
Hans-G?nter@23444 | 4 VERSION="2.11" |
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" |
domcox@1252 | 10 WEB_SITE="http://www.lesswatts.org/projects/powertop/" |
domcox@1252 | 11 |
Hans-G?nter@23444 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23444 | 13 WGET_URL="https://github.com/fenrus75/$PACKAGE/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@23444 | 16 BUILD_DEPENDS="acl autoconf automake diffutils file gcc83 gettext libnl-dev |
Hans-G?nter@23444 | 17 libtool ncursesw-dev pciutils-dev zlib-dev" |
pascal@13411 | 18 |
domcox@1252 | 19 # Rules to configure and make the package. |
domcox@1252 | 20 compile_rules() |
domcox@1252 | 21 { |
Hans-G?nter@23445 | 22 # sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac |
Hans-G?nter@23445 | 23 # sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in |
Hans-G?nter@23444 | 24 cp $stuff/version $src/scripts |
Hans-G?nter@23444 | 25 |
Hans-G?nter@23444 | 26 ./autogen.sh && |
Hans-G?nter@23444 | 27 ./configure \ |
Hans-G?nter@23444 | 28 CC=gcc-83 \ |
Hans-G?nter@23444 | 29 CXX=g++-83 && |
Hans-G?nter@23444 | 30 make && |
Hans-G?nter@23444 | 31 make install |
domcox@1252 | 32 } |
domcox@1252 | 33 |
domcox@1252 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1252 | 35 genpkg_rules() |
domcox@1252 | 36 { |
domcox@1252 | 37 mkdir -p $fs/usr |
Hans-G?nter@23444 | 38 cp -a $install/usr/sbin $fs/usr |
domcox@1252 | 39 } |