wok view watchdog/receipt @ rev 23729

updated watchdog (5.15 -> 5.16)
author Hans-G?nter Theisgen
date Fri May 01 07:05:43 2020 +0100 (2020-05-01)
parents ed588ff646ba
children 86c657b651d4
line source
1 # SliTaz package receipt.
3 PACKAGE="watchdog"
4 VERSION="5.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="Software watchdog for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://sourceforge.net/projects/watchdog/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
31 cp -a $install/etc $fs
32 cp -a $install/usr/sbin $fs/usr
33 }
35 # Post install commands for Tazpkg.
36 post_install()
37 {
38 [ -c "$1/dev/watchdog" ] || mknod -m 660 "$1/dev/watchdog" c 10 130
39 }