summaryrefslogtreecommitdiffstats
path: root/rules/python3-hbmqtt.make
blob: caeda43dd07cb1b785e5c4ea0685e11b8b560f14 (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
# -*-makefile-*-
#
# Copyright (C) 2017 by David Jander <david@protonic.nl>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_PYTHON3_HBMQTT) += python3-hbmqtt

#
# Paths and names
#
PYTHON3_HBMQTT_VERSION	:= 0.9.4
PYTHON3_HBMQTT_MD5	:= 25bf2e3fee3789fdb8c14e0b62620842
PYTHON3_HBMQTT		:= python3-hbmqtt-$(PYTHON3_HBMQTT_VERSION)
PYTHON3_HBMQTT_SUFFIX	:= tar.gz
PYTHON3_HBMQTT_URL	:= https://github.com/beerfactory/hbmqtt/archive/$(PYTHON3_HBMQTT_VERSION).$(PYTHON3_HBMQTT_SUFFIX)
PYTHON3_HBMQTT_SOURCE	:= $(SRCDIR)/$(PYTHON3_HBMQTT).$(PYTHON3_HBMQTT_SUFFIX)
PYTHON3_HBMQTT_DIR	:= $(BUILDDIR)/$(PYTHON3_HBMQTT)
PYTHON3_HBMQTT_LICENSE	:= MIT

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

PYTHON3_HBMQTT_CONF_TOOL	:= python3

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

$(STATEDIR)/python3-hbmqtt.targetinstall:
	@$(call targetinfo)

	@$(call install_init, python3-hbmqtt)
	@$(call install_fixup, python3-hbmqtt, PRIORITY, optional)
	@$(call install_fixup, python3-hbmqtt, SECTION, base)
	@$(call install_fixup, python3-hbmqtt, AUTHOR, "David Jander <david@protonic.nl>")
	@$(call install_fixup, python3-hbmqtt, DESCRIPTION, missing)

	@$(call install_glob, python3-hbmqtt, 0, 0, -, \
		$(PYTHON3_SITEPACKAGES)/hbmqtt,, *.py)

	@$(call install_finish, python3-hbmqtt)

	@$(call touch)

# vim: syntax=make