From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Markus Pargmann Date: Thu, 8 May 2014 10:00:33 +0200 Message-Id: <1399536038-23355-4-git-send-email-mpa@pengutronix.de> In-Reply-To: <1399536038-23355-1-git-send-email-mpa@pengutronix.de> References: <1399536038-23355-1-git-send-email-mpa@pengutronix.de> Subject: [ptxdist] [PATCH v2 3/8] network: Add batctl Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Markus Pargmann Signed-off-by: Markus Pargmann --- 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 +# +# 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 ") + @$(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 ptxdist@pengutronix.de