SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "smartmontools"

# SliTaz package receipt.

PACKAGE="smartmontools"
VERSION="5.41"
CATEGORY="system-tools"
SHORT_DESC="Monitors disk and tape health via S.M.A.R.T."
MAINTAINER="erjo@slitaz.org"
DEPENDS="gcc-lib-base"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://smartmontools.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr \
     --sysconfdir=/etc $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr $fs/etc/init.d
    cp -a $_pkg/usr/sbin $fs/usr
    cp $_pkg/etc/smartd.conf $fs/etc/smartd.conf
    install -g root -o root -m 755 $stuff/etc/init.d/smartd $fs/etc/init.d
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)