wok view watchdog/receipt @ rev 18101

Up lighttpd (1.4.35)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 10:08:34 2015 +0200 (2015-06-01)
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 }