wok-next annotate powertop/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | d43bf7aae921 |
children | a3c581bf52b8 |
rev | line source |
---|---|
al@20604 | 1 # SliTaz package receipt v2. |
domcox@1252 | 2 |
domcox@1252 | 3 PACKAGE="powertop" |
erjo@13409 | 4 VERSION="2.0" |
domcox@1252 | 5 CATEGORY="system-tools" |
al@20604 | 6 SHORT_DESC="Utility designed to measure and explain a computer's electrical \ |
al@20604 | 7 power consumption" |
domcox@3474 | 8 MAINTAINER="domcox@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
al@20604 | 10 WEB_SITE="http://www.lesswatts.org/projects/powertop/" |
al@20604 | 11 |
erjo@13409 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@13409 | 13 WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL" |
domcox@1252 | 14 |
al@20513 | 15 BUILD_DEPENDS="acl gettext ncurses-dev autoconf automake libtool \ |
pascal@15359 | 16 pciutils-dev libnl-dev zlib-dev gettext diffutils" |
pascal@13411 | 17 |
al@20604 | 18 compile_rules() { |
pascal@15359 | 19 sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac |
pascal@15359 | 20 sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in |
erjo@13409 | 21 ./autogen.sh |
al@20604 | 22 |
al@20604 | 23 ./configure && |
al@20604 | 24 fix libtool && |
al@20604 | 25 make && |
al@20604 | 26 make install |
domcox@1252 | 27 } |
domcox@1252 | 28 |
al@20604 | 29 genpkg_rules() { |
al@20604 | 30 copy @std |
al@20604 | 31 DEPENDS="ncurses pciutils libnl zlib gcc-lib-base" |
al@20604 | 32 TAGS="power-management" |
domcox@1252 | 33 } |