wok-current rev 23444
updated powertop (2.0 -> 2.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 02 16:14:01 2020 +0100 (2020-04-02) |
parents | 92d05037c867 |
children | 16b4527b6823 |
files | powertop/receipt powertop/stuff/version |
line diff
1.1 --- a/powertop/receipt Thu Apr 02 15:23:47 2020 +0100 1.2 +++ b/powertop/receipt Thu Apr 02 16:14:01 2020 +0100 1.3 @@ -1,34 +1,39 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="powertop" 1.7 -VERSION="2.0" 1.8 +VERSION="2.11" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption" 1.11 +TAGS="power-management" 1.12 +SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption." 1.13 MAINTAINER="domcox@slitaz.org" 1.14 LICENSE="GPL2" 1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 WEB_SITE="http://www.lesswatts.org/projects/powertop/" 1.17 -WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL" 1.18 -TAGS="power-management" 1.19 1.20 -DEPENDS="ncursesw pciutils libnl zlib gcc-lib-base" 1.21 -BUILD_DEPENDS="acl gettext ncursesw-dev wget autoconf automake libtool \ 1.22 -pciutils-dev libnl-dev zlib-dev gettext diffutils file" 1.23 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.24 +WGET_URL="https://github.com/fenrus75/$PACKAGE/archive/v$VERSION.tar.gz" 1.25 + 1.26 +DEPENDS="gcc83-lib-base libnl ncursesw pciutils zlib" 1.27 +BUILD_DEPENDS="acl autoconf automake diffutils file gcc83 gettext libnl-dev 1.28 + libtool ncursesw-dev pciutils-dev zlib-dev" 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - cd $src 1.34 sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac 1.35 sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in 1.36 - ./autogen.sh 1.37 - ./configure && make && make install 1.38 + cp $stuff/version $src/scripts 1.39 + 1.40 + ./autogen.sh && 1.41 + ./configure \ 1.42 + CC=gcc-83 \ 1.43 + CXX=g++-83 && 1.44 + make && 1.45 + make install 1.46 } 1.47 1.48 # Rules to gen a SliTaz package suitable for Tazpkg. 1.49 genpkg_rules() 1.50 { 1.51 mkdir -p $fs/usr 1.52 - cp -a $install/usr/sbin $fs/usr 1.53 + cp -a $install/usr/sbin $fs/usr 1.54 } 1.55 -