summaryrefslogtreecommitdiff
path: root/package/watchdog/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-30 12:49:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-30 12:49:59 +0100
commit276e47c2fae8adc759cf8672cc9f60e2cebbfb0c (patch)
treea9f8d4c322e19ea884e39bcf6a79af9377c87a9b /package/watchdog/Makefile
parente6164dfe91cdc8b4fc8aa21117a6954bb0c9b731 (diff)
update to latest upstream version
add a default config file with watchdog enabled. Enable watchdog in /etc/rc.conf by default.
Diffstat (limited to 'package/watchdog/Makefile')
-rw-r--r--package/watchdog/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/package/watchdog/Makefile b/package/watchdog/Makefile
index 1424b29fd..eda6f83cb 100644
--- a/package/watchdog/Makefile
+++ b/package/watchdog/Makefile
@@ -4,9 +4,9 @@
include ${TOPDIR}/rules.mk
PKG_NAME:= watchdog
-PKG_VERSION:= 5.4
+PKG_VERSION:= 5.7
PKG_RELEASE:= 1
-PKG_MD5SUM:= 66480128b9dabcced2e4c8db3e60fa50
+PKG_MD5SUM:= 31766450ecfc9aff70fe966c0b9df06d
PKG_DESCR:= watchdog daemon
PKG_SECTION:= sys
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=watchdog/}
@@ -16,16 +16,13 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,WATCHDOG,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
-XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" \
- INCLS="-I. -I${STAGING_DIR}/usr/include" \
- LIBS="-L${STAGING_DIR}/usr/lib"
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_WATCHDOG}/usr/sbin ${IDIR_WATCHDOG}/etc/
- ${INSTALL_DATA} ${WRKINST}/etc/watchdog.conf ${IDIR_WATCHDOG}/etc/
+ ${INSTALL_DATA} ./files/watchdog.conf ${IDIR_WATCHDOG}/etc/
${INSTALL_BIN} ${WRKINST}/usr/sbin/watchdog \
- ${WRKINST}/usr/sbin/wd_keepalive ${IDIR_WATCHDOG}/usr/sbin/
+ ${IDIR_WATCHDOG}/usr/sbin/
include ${TOPDIR}/mk/pkg-bottom.mk