wok-next view watchdog/receipt @ rev 21033

Fix some homepages: follow HTTP redirections.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Nov 04 11:22:16 2018 +0200 (2018-11-04)
parents d5aab818505e
children 5771cee9ebb6
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 WEB_SITE="https://sourceforge.net/projects/watchdog/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 compile_rules() {
15 ./configure \
16 --prefix=/usr \
17 --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$install install
22 }
24 genpkg_rules() {
25 mkdir -p $fs/usr
26 cp -a $install/etc $fs
27 cp -a $install/usr/sbin $fs/usr
28 }
30 post_install() {
31 [ -c "$1/dev/watchdog" ] || mknod -m 660 "$1/dev/watchdog" c 10 130
32 }