summaryrefslogtreecommitdiffstats
path: root/rules/dropwatch.make
blob: 3bf7190b7140d09308b08feb7d5ceb6079ff1dbe (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
# -*-makefile-*-
#
# Copyright (C) 2017 by Alexander Dahl <post@lespocky.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_DROPWATCH) += dropwatch

#
# Paths and names
#
DROPWATCH_VERSION	:= 1.5.4
DROPWATCH_MD5		:= 94d03b47f424924cf24f21dad941a473
DROPWATCH		:= dropwatch-$(DROPWATCH_VERSION)
DROPWATCH_SUFFIX	:= tar.gz
DROPWATCH_URL		:= https://github.com/nhorman/dropwatch/archive/v$(DROPWATCH_VERSION).${DROPWATCH_SUFFIX}
DROPWATCH_SOURCE	:= $(SRCDIR)/$(DROPWATCH).$(DROPWATCH_SUFFIX)
DROPWATCH_DIR		:= $(BUILDDIR)/$(DROPWATCH)
DROPWATCH_LICENSE	:= GPL-2.0-or-later
DROPWATCH_LICENSE_FILES	:= file://COPYING;md5=eb723b61539feef013de476e68b5c50a

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

#
# autoconf
#
DROPWATCH_CONF_TOOL	:= autoconf
DROPWATCH_CONF_OPT	:= \
	$(CROSS_AUTOCONF_USR) \
	--with-bfd

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

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

	@$(call install_init, dropwatch)
	@$(call install_fixup, dropwatch,PRIORITY,optional)
	@$(call install_fixup, dropwatch,SECTION,base)
	@$(call install_fixup, dropwatch,AUTHOR,"Alexander Dahl <post@lespocky.de>")
	@$(call install_fixup, dropwatch,DESCRIPTION,missing)

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

	@$(call install_finish, dropwatch)

	@$(call touch)

# vim: ft=make noet