wok view lm-sensors/receipt @ rev 15140
brscan: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 11:35:33 2013 +0000 (2013-08-15) |
parents | a23fb65103d1 |
children | 02bedd0cabb7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lm-sensors"
4 SOURCE="lm_sensors"
5 VERSION="3.3.3"
6 CATEGORY="system-tools"
7 SHORT_DESC="Linux hardware monitoring."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 SUGGESTED="rrdtool"
12 WEB_SITE="http://www.lm-sensors.org/"
13 WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL"
15 DEPENDS="perl linux-hwmon"
16 BUILD_DEPENDS="bison flex rrdtool-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -p0 < $stuff/linux-3.0.patch &&
23 make PREFIX=/usr &&
24 make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/etc $fs
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }