wok-current view watchdog/receipt @ rev 21199
Add python-pip & python-scapy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 16:53:25 2019 +0200 (2019-04-06) |
parents | 2a21689b0af7 |
children | ed588ff646ba |
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 }