mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Pargmann <mpa@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Markus Pargmann <mpa@pengutronix.de>
Subject: [ptxdist] [PATCH 3/8] network: Add batctl
Date: Wed, 30 Apr 2014 11:59:11 +0200	[thread overview]
Message-ID: <1398851956-18885-4-git-send-email-mpa@pengutronix.de> (raw)
In-Reply-To: <1398851956-18885-1-git-send-email-mpa@pengutronix.de>

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
 rules/batctl.in   |  8 +++++++
 rules/batctl.make | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 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..e2a4d34
--- /dev/null
+++ b/rules/batctl.make
@@ -0,0 +1,71 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Markus Pargmann <mpa@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_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
+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#BATCTL_PATH	:= PATH=$(CROSS_PATH)
+BATCTL_CONF_TOOL	:= NO
+BATCTL_MAKE_ENV	:= $(CROSS_ENV)
+
+#$(STATEDIR)/batctl.prepare:
+#	@$(call targetinfo)
+#	@$(call world/prepare, BATCTL)
+#	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# 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 <mpa@pengutronix.de>")
+	@$(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)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/batctl.clean:
+	@$(call targetinfo)
+	@-cd $(BATCTL_DIR) && \
+		$(BATCTL_ENV) $(BATCTL_PATH) $(MAKE) clean
+	@$(call clean_pkg, BATCTL)
+
+# vim: syntax=make
-- 
1.9.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2014-04-30  9:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-30  9:59 [ptxdist] [PATCH 0/8] network packages updates Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 1/8] iproute2: version bump 3.9.0 -> 3.14.0 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 2/8] iw: version bump 3.3 -> 3.14 Markus Pargmann
2014-04-30  9:59 ` Markus Pargmann [this message]
2014-04-30  9:59 ` [ptxdist] [PATCH 4/8] crda: version bump 1.1.3 -> 3.13 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 5/8] dnsmasq: version bump 2.47 -> 2.69 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 6/8] iperf: version bump 2.0.4 -> 2.0.5 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 7/8] wireshark: version bump 1.10.5 -> 1.10.6 Markus Pargmann
2014-04-30  9:59 ` [ptxdist] [PATCH 8/8] libjpeg: version bump 8a -> 9a, add binaries Markus Pargmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1398851956-18885-4-git-send-email-mpa@pengutronix.de \
    --to=mpa@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox