wok-next annotate powertop/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | a3c581bf52b8 |
children |
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" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
al@20906 | 10 WEB_SITE="https://01.org/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@21020 | 15 BUILD_DEPENDS="acl gettext-dev ncurses-dev autoconf automake libtool \ |
al@21020 | 16 pciutils-dev libnl-dev zlib-dev 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 } |