From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Markus Pargmann Date: Tue, 17 Jun 2014 10:25:16 +0200 Message-Id: <1402993518-27068-2-git-send-email-mpa@pengutronix.de> In-Reply-To: <1402993518-27068-1-git-send-email-mpa@pengutronix.de> References: <1402993518-27068-1-git-send-email-mpa@pengutronix.de> Subject: [ptxdist] [PATCH 2/4] alfred: Initial commit 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 Add A.L.F.R.E.D. daemon to ptxdist. It is used to distribute data between nodes of batman mesh networks. Signed-off-by: Markus Pargmann --- rules/alfred.in | 8 +++++++ rules/alfred.make | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 rules/alfred.in create mode 100644 rules/alfred.make diff --git a/rules/alfred.in b/rules/alfred.in new file mode 100644 index 000000000000..f262081606af --- /dev/null +++ b/rules/alfred.in @@ -0,0 +1,8 @@ +## SECTION=project_specific + +config ALFRED + tristate + prompt "A.L.F.R.E.D." + help + Alfred is a distributed data distribution service which is used for + batman mesh networks. diff --git a/rules/alfred.make b/rules/alfred.make new file mode 100644 index 000000000000..9db95e0401e8 --- /dev/null +++ b/rules/alfred.make @@ -0,0 +1,65 @@ +# -*-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_ALFRED) += alfred + +# +# Paths and names +# +ALFRED_VERSION := 2014.1.0 +ALFRED_MD5 := aaee0fbbc3aa011ba9c0a1d3f3b2801e +ALFRED := alfred-$(ALFRED_VERSION) +ALFRED_SUFFIX := tar.gz +ALFRED_URL := http://downloads.open-mesh.org/batman/stable/sources/alfred/$(ALFRED).$(ALFRED_SUFFIX) +ALFRED_SOURCE := $(SRCDIR)/$(ALFRED).$(ALFRED_SUFFIX) +ALFRED_DIR := $(BUILDDIR)/$(ALFRED) +ALFRED_LICENSE := unknown + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +ALFRED_CONF_TOOL := NO +ALFRED_MAKE_ENV := $(CROSS_ENV) CONFIG_ALFRED_GPSD=n + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/alfred.targetinstall: + @$(call targetinfo) + + @$(call install_init, alfred) + @$(call install_fixup, alfred,PRIORITY,optional) + @$(call install_fixup, alfred,SECTION,base) + @$(call install_fixup, alfred,AUTHOR,"Markus Pargmann ") + @$(call install_fixup, alfred,DESCRIPTION,missing) + + @$(call install_copy, alfred, 0, 0, 0755, $(ALFRED_DIR)/alfred, /usr/bin/alfred) + @$(call install_copy, alfred, 0, 0, 0755, $(ALFRED_DIR)/vis/batadv-vis, /usr/bin/batadv-vis) + + @$(call install_finish, alfred) + + @$(call touch) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +$(STATEDIR)/alfred.clean: + @$(call targetinfo) + @-cd $(ALFRED_DIR) && \ + $(ALFRED_ENV) $(ALFRED_PATH) $(MAKE) clean + @$(call clean_pkg, ALFRED) + +# vim: syntax=make -- 2.0.0 -- ptxdist mailing list ptxdist@pengutronix.de