wok-6.x view watchdog/receipt @ rev 23178
Up openvpn (2.4.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 18 11:26:52 2020 +0100 (2020-03-18) |
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 }