wok rev 13411

powertop: fix deps, bdeps & genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 01 10:08:31 2012 +0200 (2012-10-01)
parents 9fca00a1918e
children 1ca52b3246f2
files powertop/receipt
line diff
     1.1 --- a/powertop/receipt	Mon Oct 01 01:39:13 2012 +0200
     1.2 +++ b/powertop/receipt	Mon Oct 01 10:08:31 2012 +0200
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption"
     1.6  MAINTAINER="domcox@slitaz.org"
     1.7 -DEPENDS="ncursesw"
     1.8 -BUILD_DEPENDS="acl gettext ncursesw-dev wget autoconf automake libtool"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WEB_SITE="http://www.lesswatts.org/projects/powertop/"
    1.11  WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL"
    1.12  TAGS="power-management"
    1.13  
    1.14 +DEPENDS="ncursesw pciutils libnl zlib gcc-lib-base"
    1.15 +BUILD_DEPENDS="acl gettext ncursesw-dev wget autoconf automake libtool \
    1.16 +pciutils-dev libnl-dev zlib-dev"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 @@ -24,6 +26,6 @@
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr
    1.25 -	cp -a $_pkg/usr/bin $fs/usr
    1.26 +	cp -a $install/usr/sbin $fs/usr
    1.27  }
    1.28