wok-next diff watchdog/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 0c430fcaf2d9 |
children |
line diff
1.1 --- a/watchdog/receipt Sun Nov 04 11:22:16 2018 +0200 1.2 +++ b/watchdog/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="watchdog" 1.7 -VERSION="5.9" 1.8 +VERSION="5.15" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Software watchdog for Linux" 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -11,20 +11,25 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 1.16 +BUILD_DEPENDS="libtirpc-dev" 1.17 + 1.18 compile_rules() { 1.19 + sed -i '/^#watchdog-device/ s|#||' watchdog.conf 1.20 + 1.21 + export CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc/" 1.22 + export LDFLAGS="$LDFLAGS -ltirpc" 1.23 + 1.24 ./configure \ 1.25 - --prefix=/usr \ 1.26 - --infodir=/usr/share/info \ 1.27 - --mandir=/usr/share/man \ 1.28 + --disable-nfs \ 1.29 $CONFIGURE_ARGS && 1.30 make && 1.31 - make DESTDIR=$install install 1.32 + make install 1.33 } 1.34 1.35 genpkg_rules() { 1.36 - mkdir -p $fs/usr 1.37 - cp -a $install/etc $fs 1.38 - cp -a $install/usr/sbin $fs/usr 1.39 + copy @std 1.40 + DEPENDS="" 1.41 + CONFIG_FILES="/etc/watchdog.conf" 1.42 } 1.43 1.44 post_install() {