1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# -*-makefile-*-
#
# Copyright (C) 2010 by Jon Ringle
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_WATCHDOG) += watchdog
#
# Paths and names
#
WATCHDOG_VERSION := 5.15
WATCHDOG_MD5 := 678c32f6f35a0492c9c1b76b4aa88828
WATCHDOG := watchdog-$(WATCHDOG_VERSION)
WATCHDOG_SUFFIX := tar.gz
WATCHDOG_URL := $(call ptx/mirror, SF, watchdog/$(WATCHDOG).$(WATCHDOG_SUFFIX))
WATCHDOG_SOURCE := $(SRCDIR)/$(WATCHDOG).$(WATCHDOG_SUFFIX)
WATCHDOG_DIR := $(BUILDDIR)/$(WATCHDOG)
WATCHDOG_LICENSE := GPL-2.0-only
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
WATCHDOG_CONF_TOOL := autoconf
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/watchdog.targetinstall:
@$(call targetinfo)
@$(call install_init, watchdog)
@$(call install_fixup, watchdog,PRIORITY,optional)
@$(call install_fixup, watchdog,SECTION,base)
@$(call install_fixup, watchdog,AUTHOR,"Jon Ringle")
@$(call install_fixup, watchdog,DESCRIPTION,missing)
@$(call install_alternative, watchdog, 0, 0, 0644, /etc/watchdog.conf)
@$(call install_copy, watchdog, 0, 0, 0755, -, /usr/sbin/watchdog)
@$(call install_finish, watchdog)
@$(call touch)
# vim: syntax=make
|