wok-6.x view powertop/receipt @ rev 16617
libgd: it build with same receipt than december 2013 - but with error on libgd-config that may be present for a long time
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 08 20:04:50 2014 +0200 (2014-05-08) |
parents | 7896f0694ef6 |
children | ff9bdf719828 |
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="ncursesw pciutils libnl zlib gcc-lib-base"
15 BUILD_DEPENDS="acl gettext ncursesw-dev wget 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 cd $src
22 sed -i 's/AC_PROG_LIBTOOL/AC_PROG_MKDIR_P\n&/' configure.ac
23 sed -i 's/(mkdir_p)/(MKDIR_P)/' po/Makefile.in.in
24 ./autogen.sh
25 ./configure && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 }