summaryrefslogtreecommitdiffstats
path: root/rules/wavemon.make
blob: e56506767afc078baa7675a21b4a18733fde132e (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
# -*-makefile-*-
#
# Copyright (C) 2013 by Bernhard Walle <bernhard@bwalle.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_WAVEMON) += wavemon

#
# Paths and names
#
WAVEMON_VERSION	:= 0.7.5
WAVEMON_MD5	:= 77d4a0f099ca98cf98a915adc70694ba
WAVEMON		:= wavemon-$(WAVEMON_VERSION)
WAVEMON_SUFFIX	:= tar.bz2
WAVEMON_URL	:= https://github.com/uoaerg/wavemon/releases/download/v$(WAVEMON_VERSION)/$(WAVEMON).$(WAVEMON_SUFFIX)
WAVEMON_SOURCE	:= $(SRCDIR)/$(WAVEMON).$(WAVEMON_SUFFIX)
WAVEMON_DIR	:= $(BUILDDIR)/$(WAVEMON)
WAVEMON_LICENSE	:= GPL

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

WAVEMON_CONF_ENV := \
	$(CROSS_ENV) \
	ac_cv_lib_cap_cap_get_flag=no

#
# autoconf
#
WAVEMON_CONF_TOOL := autoconf

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

$(STATEDIR)/wavemon.targetinstall:
	@$(call targetinfo)

	@$(call install_init, wavemon)
	@$(call install_fixup, wavemon,PRIORITY,optional)
	@$(call install_fixup, wavemon,SECTION,base)
	@$(call install_fixup, wavemon,AUTHOR,"Bernhard Walle <bernhard@bwalle.de>")
	@$(call install_fixup, wavemon,DESCRIPTION,missing)

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

	@$(call install_finish, wavemon)

	@$(call touch)

# vim: syntax=make