wok-next annotate powertop/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | 6c12ac1293fc |
children | 10df65db91ad |
rev | line source |
---|---|
domcox@1252 | 1 # SliTaz package receipt. |
domcox@1252 | 2 |
domcox@1252 | 3 PACKAGE="powertop" |
erjo@13409 | 4 VERSION="2.0" |
domcox@1252 | 5 CATEGORY="system-tools" |
domcox@1252 | 6 SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption" |
domcox@3474 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
erjo@13409 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
domcox@1252 | 10 WEB_SITE="http://www.lesswatts.org/projects/powertop/" |
erjo@13409 | 11 WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL" |
domcox@6097 | 12 TAGS="power-management" |
domcox@1252 | 13 |
pascal@19952 | 14 DEPENDS="ncurses pciutils libnl zlib gcc-lib-base" |
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 |
domcox@1252 | 18 # Rules to configure and make the package. |
domcox@1252 | 19 compile_rules() |
domcox@1252 | 20 { |
pascal@15359 | 21 sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac |
pascal@15359 | 22 sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in |
erjo@13409 | 23 ./autogen.sh |
erjo@13409 | 24 ./configure && make && make install |
domcox@1252 | 25 } |
domcox@1252 | 26 |
domcox@1252 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1252 | 28 genpkg_rules() |
domcox@1252 | 29 { |
domcox@1252 | 30 mkdir -p $fs/usr |
pascal@13411 | 31 cp -a $install/usr/sbin $fs/usr |
domcox@1252 | 32 } |
domcox@1252 | 33 |