summaryrefslogtreecommitdiffstats
path: root/rules/which.make
blob: e5b3c6b23610b8cc923734f0fb91767737700d35 (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
# -*-makefile-*-
#
# Copyright (C) 2013 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_WHICH) += which

#
# Paths and names
#
WHICH_VERSION	:= 2.20
WHICH_MD5	:= 95be0501a466e515422cde4af46b2744
WHICH		:= which-$(WHICH_VERSION)
WHICH_SUFFIX	:= tar.gz
WHICH_URL	:= $(call ptx/mirror, GNU, which/$(WHICH).$(WHICH_SUFFIX))
WHICH_SOURCE	:= $(SRCDIR)/$(WHICH).$(WHICH_SUFFIX)
WHICH_DIR	:= $(BUILDDIR)/$(WHICH)
WHICH_LICENSE	:= GPL-3.0

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

#
# autoconf
#
WHICH_CONF_TOOL	:= autoconf

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

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

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

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

	@$(call install_finish, which)

	@$(call touch)

# vim: syntax=make