summaryrefslogtreecommitdiffstats
path: root/rules/json-dbus-bridge.make
blob: 4eb7e6573bd8eef332aaeae67be41c6c0abfc328 (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
# -*-makefile-*-
#
# Copyright (C) 2010 by Tim Sander <tim.sander@hbm.com>
#           (C) 2010 by 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_JSON_DBUS_BRIDGE) += json-dbus-bridge

#
# Paths and names
#
JSON_DBUS_BRIDGE_VERSION	:= 1.0.0
JSON_DBUS_BRIDGE_MD5		:= ac1d4a909e148cbf6fb5c7829bd5332d
JSON_DBUS_BRIDGE		:= json-dbus-bridge-$(JSON_DBUS_BRIDGE_VERSION)
JSON_DBUS_BRIDGE_SUFFIX		:= tar.bz2
JSON_DBUS_BRIDGE_URL		:= http://www.pengutronix.de/software/json-dbus-bridge/download/$(JSON_DBUS_BRIDGE).$(JSON_DBUS_BRIDGE_SUFFIX)
JSON_DBUS_BRIDGE_SOURCE		:= $(SRCDIR)/$(JSON_DBUS_BRIDGE).$(JSON_DBUS_BRIDGE_SUFFIX)
JSON_DBUS_BRIDGE_DIR		:= $(BUILDDIR)/$(JSON_DBUS_BRIDGE)
JSON_DBUS_BRIDGE_LICENSE	:= LGPL-2.1+

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

#
# autoconf
#
JSON_DBUS_BRIDGE_CONF_TOOL	:= autoconf
JSON_DBUS_BRIDGE_CONF_OPT	:= \
	$(CROSS_AUTOCONF_USR) \
	--disable-debug

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

$(STATEDIR)/json-dbus-bridge.targetinstall:
	@$(call targetinfo)

	@$(call install_init,  json-dbus-bridge)
	@$(call install_fixup, json-dbus-bridge,PRIORITY,optional)
	@$(call install_fixup, json-dbus-bridge,SECTION,base)
	@$(call install_fixup, json-dbus-bridge,AUTHOR,"Tim Sander <tim.sander@hbm.com>")
	@$(call install_fixup, json-dbus-bridge,DESCRIPTION,missing)

	@$(call install_copy, json-dbus-bridge, 0, 0, 0755, -, /usr/bin/json-dbus-bridge)

	@$(call install_finish, json-dbus-bridge)

	@$(call touch)

# vim: syntax=make