diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-01-10 10:58:07 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2013-01-10 10:58:07 +0100 |
commit | 3edec86f4671ede7060bb6a629793e86cd31ca85 (patch) | |
tree | 20ce736439041677e094a9387b6c442882cd3e5b /rules/which.make | |
parent | 958e7979a4e0266fca09a2a481ccce946271a0e7 (diff) | |
download | ptxdist-3edec86f4671ede7060bb6a629793e86cd31ca85.tar.gz ptxdist-3edec86f4671ede7060bb6a629793e86cd31ca85.tar.xz |
which: add package
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/which.make')
-rw-r--r-- | rules/which.make | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/rules/which.make b/rules/which.make new file mode 100644 index 000000000..8c7210822 --- /dev/null +++ b/rules/which.make @@ -0,0 +1,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 := unknown + +# ---------------------------------------------------------------------------- +# 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 |