wok-next view lm-sensors/receipt @ rev 14779
Add alien
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 04 08:55:30 2013 +0200 (2013-07-04) |
parents | 9376616c10ac |
children | 408c87fa22ca |
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 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 SUGGESTED="rrdtool"
11 WEB_SITE="http://www.lm-sensors.org/"
12 WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL"
14 DEPENDS="perl linux-hwmon"
15 BUILD_DEPENDS="bison flex rrdtool-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -p0 < $stuff/linux-3.0.patch &&
22 make PREFIX=/usr &&
23 make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/etc $fs
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }