wok-next annotate powertop/receipt @ rev 14730
Up xorg-xf86-video-ati (7.1.0), xorg-xf86-video-fbdev (0.4.3), xorg-xf86-video-geode (2.11.14), xorg-xf86-video-i740 (1.3.4), xorg-xf86-video-neomagic (1.2.7), xorg-xf86-video-nv (2.1.20), xorg-xf86-video-s3 (0.6.5), xorg-xf86-video-trident (1.3.6), xorg-xf86-video-vesa (2.3.2), xorg-xf86-video-vmware (13.0.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 13 10:45:31 2013 +0200 (2013-06-13) |
parents | 1916b7d701ea |
children | 7896f0694ef6 |
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" |
erjo@13409 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
domcox@1252 | 9 WEB_SITE="http://www.lesswatts.org/projects/powertop/" |
erjo@13409 | 10 WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL" |
domcox@6097 | 11 TAGS="power-management" |
domcox@1252 | 12 |
pascal@13411 | 13 DEPENDS="ncursesw pciutils libnl zlib gcc-lib-base" |
pascal@13411 | 14 BUILD_DEPENDS="acl gettext ncursesw-dev wget autoconf automake libtool \ |
pascal@13411 | 15 pciutils-dev libnl-dev zlib-dev" |
pascal@13411 | 16 |
domcox@1252 | 17 # Rules to configure and make the package. |
domcox@1252 | 18 compile_rules() |
domcox@1252 | 19 { |
domcox@1252 | 20 cd $src |
erjo@13409 | 21 ./autogen.sh |
erjo@13409 | 22 ./configure && make && make install |
domcox@1252 | 23 } |
domcox@1252 | 24 |
domcox@1252 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@1252 | 26 genpkg_rules() |
domcox@1252 | 27 { |
domcox@1252 | 28 mkdir -p $fs/usr |
pascal@13411 | 29 cp -a $install/usr/sbin $fs/usr |
domcox@1252 | 30 } |
domcox@1252 | 31 |