summaryrefslogtreecommitdiffstats
path: root/rules/ltt-control.make
blob: c6b82057af28abc8856f0ae706dd078fbb6d2e86 (plain)
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
# -*-makefile-*-
#
# Copyright (C) 2007 by Sascha Hauer
#               2010 Michael Olbrich <m.olbrich@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_LTT_CONTROL) += ltt-control

#
# Paths and names
#
LTT_CONTROL_VERSION	:= 0.87-09062010
LTT_CONTROL_MD5		:= 8054b5dabebdc524ac747efd1d9c5b88
LTT_CONTROL		:= ltt-control-$(LTT_CONTROL_VERSION)
LTT_CONTROL_SUFFIX	:= tar.gz
LTT_CONTROL_URL		:= http://lttng.org/files/lttng/$(LTT_CONTROL).$(LTT_CONTROL_SUFFIX)
LTT_CONTROL_SOURCE	:= $(SRCDIR)/$(LTT_CONTROL).$(LTT_CONTROL_SUFFIX)
LTT_CONTROL_DIR		:= $(BUILDDIR)/$(LTT_CONTROL)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

LTT_CONTROL_PATH	:= PATH=$(CROSS_PATH)
LTT_CONTROL_ENV 	:= $(CROSS_ENV)

#
# autoconf
#
LTT_CONTROL_AUTOCONF := $(CROSS_AUTOCONF_USR)

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/ltt-control.targetinstall:
	@$(call targetinfo)

	@$(call install_init, ltt-control)
	@$(call install_fixup, ltt-control,PRIORITY,optional)
	@$(call install_fixup, ltt-control,SECTION,base)
	@$(call install_fixup, ltt-control,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
	@$(call install_fixup, ltt-control,DESCRIPTION,missing)

	@$(call install_copy, ltt-control, 0, 0, 0755, -, /usr/bin/lttctl)
	@$(call install_copy, ltt-control, 0, 0, 0755, -, /usr/bin/lttd)

	@$(call install_lib, ltt-control, 0, 0, 0644, liblttctl)
	@$(call install_lib, ltt-control, 0, 0, 0644, liblttd)

	@$(call install_finish, ltt-control)

	@$(call touch)

# vim: syntax=make