wok-current view watchdog/receipt @ rev 23184

updated mobile-broadband-provider-info (20190116 -> 20190618)
author Hans-G?nter Theisgen
date Thu Mar 19 17:17:33 2020 +0100 (2020-03-19)
parents 9e01bc6321ea
children c1e7c7ea9c19
line source
1 # SliTaz package receipt.
3 PACKAGE="watchdog"
4 VERSION="5.15"
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 }