wok-next view watchdog/receipt @ rev 21360
guacamole: inserted fix libtool
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 13 06:41:39 2020 +0100 (2020-04-13) |
parents | 0c430fcaf2d9 |
children |
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 BUILD_DEPENDS="libtirpc-dev"
16 compile_rules() {
17 sed -i '/^#watchdog-device/ s|#||' watchdog.conf
19 export CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc/"
20 export LDFLAGS="$LDFLAGS -ltirpc"
22 ./configure \
23 --disable-nfs \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS=""
32 CONFIG_FILES="/etc/watchdog.conf"
33 }
35 post_install() {
36 [ -c "$1/dev/watchdog" ] || mknod -m 660 "$1/dev/watchdog" c 10 130
37 }