summaryrefslogtreecommitdiffstats
path: root/rules/hub-ctrl.make
blob: 3c3f3ef0559d66eb5b4d32d0a79bf6fec5157266 (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
# -*-makefile-*-
#
# Copyright (C) 2014 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_HUB_CTRL) += hub-ctrl

#
# Paths and names
#
HUB_CTRL_VERSION	:= 2014.07.0
HUB_CTRL_MD5		:= 6e00505d2888bca1646a1e388fcc1e0a
HUB_CTRL		:= hub-ctrl-$(HUB_CTRL_VERSION)
HUB_CTRL_SUFFIX		:= tar.bz2
HUB_CTRL_URL		:= http://www.pengutronix.de/software/ptxdist/temporary-src/$(HUB_CTRL).$(HUB_CTRL_SUFFIX)
HUB_CTRL_SOURCE		:= $(SRCDIR)/$(HUB_CTRL).$(HUB_CTRL_SUFFIX)
HUB_CTRL_DIR		:= $(BUILDDIR)/$(HUB_CTRL)
HUB_CTRL_LICENSE	:= GPL-2.0-or-later

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

HUB_CTRL_CONF_TOOL	:= autoconf

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

$(STATEDIR)/hub-ctrl.targetinstall:
	@$(call targetinfo)

	@$(call install_init, hub-ctrl)
	@$(call install_fixup, hub-ctrl,PRIORITY,optional)
	@$(call install_fixup, hub-ctrl,SECTION,base)
	@$(call install_fixup, hub-ctrl,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
	@$(call install_fixup, hub-ctrl,DESCRIPTION,missing)

	@$(call install_copy, hub-ctrl, 0, 0, 0755, -, /usr/bin/hub-ctrl)

	@$(call install_finish, hub-ctrl)

	@$(call touch)

# vim: syntax=make