SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lm-sensors"

# SliTaz package receipt.

PACKAGE="lm-sensors"
SOURCE="lm_sensors"
VERSION="3.3.0"
CATEGORY="system-tools"
SHORT_DESC="Linux hardware monitoring."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$SOURCE-$VERSION.tar.bz2"
DEPENDS="perl"
BUILD_DEPENDS="bison flex rrdtool-dev"
SUGGESTED="rrdtool"
WEB_SITE="http://www.lm-sensors.org/"
WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i 's|/usr/local|/usr|' Makefile
    make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/etc $fs
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/sbin $fs/usr
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)