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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
# -*-makefile-*-
#
# Copyright (C) 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# 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_TIMEOUT) += timeout
#
# Paths and names
#
TIMEOUT_VERSION := 1.18
TIMEOUT := tct-$(TIMEOUT_VERSION)
TIMEOUT_SUFFIX := tar.gz
TIMEOUT_URL := http://www.porcupine.org/forensics/$(TIMEOUT).$(TIMEOUT_SUFFIX)
TIMEOUT_SOURCE := $(SRCDIR)/$(TIMEOUT).$(TIMEOUT_SUFFIX)
TIMEOUT_DIR := $(BUILDDIR)/$(TIMEOUT)
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
$(TIMEOUT_SOURCE):
@$(call targetinfo)
@$(call get, TIMEOUT)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
TIMEOUT_PATH := PATH=$(CROSS_PATH)
TIMEOUT_MAKEVARS := $(CROSS_ENV_CC)
$(STATEDIR)/timeout.prepare:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
$(STATEDIR)/timeout.compile:
@$(call targetinfo)
cd $(TIMEOUT_DIR)/src/misc && $(TIMEOUT_PATH) \
$(MAKE) $(PARALLELMFLAGS_BROKEN) $(TIMEOUT_MAKEVARS) \
../../bin/timeout
@$(call touch)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/timeout.install:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/timeout.targetinstall:
@$(call targetinfo)
@$(call install_init, timeout)
@$(call install_fixup, timeout,PACKAGE,timeout)
@$(call install_fixup, timeout,PRIORITY,optional)
@$(call install_fixup, timeout,VERSION,$(TIMEOUT_VERSION))
@$(call install_fixup, timeout,SECTION,base)
@$(call install_fixup, timeout,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
@$(call install_fixup, timeout,DEPENDS,)
@$(call install_fixup, timeout,DESCRIPTION,missing)
@$(call install_copy, timeout, 0, 0, 0755, $(TIMEOUT_DIR)/bin/timeout, /usr/bin/timeout)
@$(call install_finish, timeout)
@$(call touch)
# vim: syntax=make
|