wok-6.x view watchdog/receipt @ rev 17149

slitaz-configs-base: fix Slim Root Login.(/rootfs/root/.xinitrc)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Sep 10 16:16:18 2014 +0200 (2014-09-10)
parents c576fbb79591
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="watchdog"
4 VERSION="5.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Software watchdog for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://watchdog.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/etc $fs
30 cp -a $install/usr/sbin $fs/usr
31 }
33 # Pre and post install commands for Tazpkg.
34 post_install()
35 {
36 [ -c $1/dev/watchdog ] || mknod -m 660 $1/dev/watchdog c 10 130
37 }