summaryrefslogtreecommitdiffstats
path: root/rules/hping.make
blob: 644861094bd67204ba932d992a0981fc9e43509e (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
61
62
63
# -*-makefile-*-
#
# Copyright (C) 2009 by Juergen Beisert
#
# 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_HPING) += hping

#
# Paths and names
#
HPING_VERSION	:= 3-20051105
HPING_MD5	:= ca4ea4e34bcc2162aedf25df8b2d1747
HPING		:= hping$(HPING_VERSION)
HPING_SUFFIX	:= tar.gz
HPING_URL	:= http://www.hping.org/$(HPING).$(HPING_SUFFIX)
HPING_SOURCE	:= $(SRCDIR)/$(HPING).$(HPING_SUFFIX)
HPING_DIR	:= $(BUILDDIR)/$(HPING)
HPING_LICENSE	:= GPL-2.0

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

HPING_PATH	:= PATH=$(CROSS_PATH)
HPING_ENV 	:= \
	$(CROSS_ENV) \
	MANPATH=/usr/man

HPING_MAKEVARS	:= $(CROSS_ENV)

#
# autoconf
#
HPING_AUTOCONF := --no-tcl

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

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

	@$(call install_init, hping)
	@$(call install_fixup, hping,PRIORITY,optional)
	@$(call install_fixup, hping,SECTION,base)
	@$(call install_fixup, hping,AUTHOR,"Juergen Beisert <jbe@pengutronix.de>")
	@$(call install_fixup, hping,DESCRIPTION,missing)

	@$(call install_copy, hping, 0, 0, 0755, -, /usr/sbin/hping3)

	@$(call install_finish, hping)

	@$(call touch)

# vim: syntax=make