wok-next view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="powertop"
4 VERSION="2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utility designed to measure and explain a computer's electrical power consumption"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.lesswatts.org/projects/powertop/"
11 WGET_URL="https://01.org/powertop/sites/default/files/downloads/$TARBALL"
12 TAGS="power-management"
14 DEPENDS="ncurses pciutils libnl zlib gcc-lib-base"
15 BUILD_DEPENDS="acl gettext ncurses-dev autoconf automake libtool \
16 pciutils-dev libnl-dev zlib-dev gettext diffutils"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac
22 sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in
23 ./autogen.sh
24 ./configure && make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/sbin $fs/usr
32 }