wok view lm-sensors/receipt @ rev 12164

Moved cgi-bin files to slitaz-base-files (They can be used by any CGI compliant webserver not only BB httpd applet)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 18 00:54:36 2012 +0100 (2012-03-18)
parents 34b95fc7d2cd
children a23fb65103d1
line source
1 # SliTaz package receipt.
3 PACKAGE="lm-sensors"
4 SOURCE="lm_sensors"
5 VERSION="3.3.0"
6 CATEGORY="system-tools"
7 SHORT_DESC="Linux hardware monitoring."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 DEPENDS="perl"
11 BUILD_DEPENDS="bison flex rrdtool-dev"
12 SUGGESTED="rrdtool"
13 WEB_SITE="http://www.lm-sensors.org/"
14 WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|/usr/local|/usr|' Makefile
21 make && make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }