# SliTaz package receipt. PACKAGE="powertop" VERSION="1.13" CATEGORY="system-tools" SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption" MAINTAINER="domcox@slitaz.org" DEPENDS="ncursesw" BUILD_DEPENDS="acl gettext ncursesw-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.lesswatts.org/projects/powertop/" WGET_URL="http://www.lesswatts.org/projects/powertop/download/$TARBALL" TAGS="power-management" # Rules to configure and make the package. compile_rules() { cd $src make make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr }