SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "watchdog"

# SliTaz package receipt.

PACKAGE="watchdog"
VERSION="5.9"
CATEGORY="system-tools"
SHORT_DESC="Software watchdog for Linux."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://watchdog.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src

    ./configure --prefix=/usr --infodir=/usr/share/info \
    --mandir=/usr/share/man \
    $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $_pkg/etc $fs
    cp -a $_pkg/usr/sbin $fs/usr
}

# Pre and post install commands for Tazpkg.
post_install()
{
    [ -c $1/dev/watchdog ] || mknod -m 660  $1/dev/watchdog c 10 130
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)