Signed-off-by: Markus Pargmann <[email protected]> --- Notes: Changes in v2: - Cleanup of the make file
rules/batctl.in | 8 ++++++++ rules/batctl.make | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 rules/batctl.in create mode 100644 rules/batctl.make diff --git a/rules/batctl.in b/rules/batctl.in new file mode 100644 index 0000000..a41af49 --- /dev/null +++ b/rules/batctl.in @@ -0,0 +1,8 @@ +## SECTION=networking + +config BATCTL + tristate + prompt "B.A.T.M.A.N. - batctl" + select LIBNL3 + help + B.A.T.M.A.N batclt program to control/monitor batman interfaces diff --git a/rules/batctl.make b/rules/batctl.make new file mode 100644 index 0000000..69a10fb --- /dev/null +++ b/rules/batctl.make @@ -0,0 +1,51 @@ +# -*-makefile-*- +# +# Copyright (C) 2014 by Markus Pargmann <[email protected]> +# +# 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_BATCTL) += batctl + +# +# Paths and names +# +BATCTL_VERSION := 2014.1.0 +BATCTL_MD5 := 92fd4cb60e38ec952fb5fdda4b2e6933 +BATCTL := batctl-$(BATCTL_VERSION) +BATCTL_SUFFIX := tar.gz +BATCTL_URL := http://downloads.open-mesh.org/batman/stable/sources/batctl/$(BATCTL).$(BATCTL_SUFFIX) +BATCTL_SOURCE := $(SRCDIR)/$(BATCTL).$(BATCTL_SUFFIX) +BATCTL_DIR := $(BUILDDIR)/$(BATCTL) +BATCTL_LICENSE := unknown + + +BATCTL_CONF_TOOL := NO +BATCTL_MAKE_ENV := $(CROSS_ENV) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/batctl.targetinstall: + @$(call targetinfo) + + @$(call install_init, batctl) + @$(call install_fixup, batctl,PRIORITY,optional) + @$(call install_fixup, batctl,SECTION,base) + @$(call install_fixup, batctl,AUTHOR,"Markus Pargmann <[email protected]>") + @$(call install_fixup, batctl,DESCRIPTION,missing) + + @$(call install_copy, batctl, 0, 0, 0755, $(BATCTL_DIR)/batctl, /usr/bin/batctl) + + @$(call install_finish, batctl) + + @$(call touch) + +# vim: syntax=make -- 2.0.0.rc0 -- ptxdist mailing list [email protected]
