wok-next diff powertop/receipt @ rev 20604
More fix libtool.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 13:15:41 2018 +0300 (2018-04-19) |
parents | d43bf7aae921 |
children | a3c581bf52b8 |
line diff
1.1 --- a/powertop/receipt Wed Mar 21 15:58:17 2018 +0200 1.2 +++ b/powertop/receipt Thu Apr 19 13:15:41 2018 +0300 1.3 @@ -1,33 +1,33 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="powertop" 1.8 VERSION="2.0" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption" 1.11 +SHORT_DESC="Utility designed to measure and explain a computer's electrical \ 1.12 +power consumption" 1.13 MAINTAINER="domcox@slitaz.org" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="http://www.lesswatts.org/projects/powertop/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 -WEB_SITE="http://www.lesswatts.org/projects/powertop/" 1.19 WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL" 1.20 -TAGS="power-management" 1.21 1.22 -DEPENDS="ncurses pciutils libnl zlib gcc-lib-base" 1.23 BUILD_DEPENDS="acl gettext ncurses-dev autoconf automake libtool \ 1.24 pciutils-dev libnl-dev zlib-dev gettext diffutils" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac 1.31 sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in 1.32 ./autogen.sh 1.33 - ./configure && make && make install 1.34 + 1.35 + ./configure && 1.36 + fix libtool && 1.37 + make && 1.38 + make install 1.39 } 1.40 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 - mkdir -p $fs/usr 1.45 - cp -a $install/usr/sbin $fs/usr 1.46 +genpkg_rules() { 1.47 + copy @std 1.48 + DEPENDS="ncurses pciutils libnl zlib gcc-lib-base" 1.49 + TAGS="power-management" 1.50 } 1.51 -