diff options
author | Alexander Aring <aar@pengutronix.de> | 2016-04-27 17:54:20 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-17 08:28:33 +0200 |
commit | 32dc89d1684015aac52d3ed813432020f06a904a (patch) | |
tree | c9220f4bf1ac3f1e98af10a8393fc7f60579c2f5 /rules | |
parent | 8d0b85d2981a9f4978b37b94ae3925031b21dfd4 (diff) | |
download | ptxdist-32dc89d1684015aac52d3ed813432020f06a904a.tar.gz ptxdist-32dc89d1684015aac52d3ed813432020f06a904a.tar.xz |
unstrung: initial commit
Cc: Michael Richardson <mcr@sandelman.ca>
Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/unstrung.in | 26 | ||||
-rw-r--r-- | rules/unstrung.make | 63 |
2 files changed, 89 insertions, 0 deletions
diff --git a/rules/unstrung.in b/rules/unstrung.in new file mode 100644 index 000000000..61b87a99f --- /dev/null +++ b/rules/unstrung.in @@ -0,0 +1,26 @@ +## SECTION=networking + +menuconfig UNSTRUNG + tristate + prompt "unstrung " + select BOOST + select LIBPCAP + select LIBUSB + help + Unstrung is an implementation of the IETF ROLL Working Group's RPL + RFC6550 routing protocol. RPL is pronounced Ripple. RPL is an IETF + protocol that provides connectivity among nodes that can not all + hear each other, but rather have to form a multihop mesh-like + network. + +if UNSTRUNG + +config UNSTRUNG_TESTING + bool + prompt "testing tools" + help + If enabled testing programs peck, senddio, senddao will be builed and + installed. + +endif + diff --git a/rules/unstrung.make b/rules/unstrung.make new file mode 100644 index 000000000..85ee845a6 --- /dev/null +++ b/rules/unstrung.make @@ -0,0 +1,63 @@ +# -*-makefile-*- +# +# Copyright (C) 2016 by Alexander Aring <aar@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_UNSTRUNG) += unstrung + +# +# Paths and names +# +UNSTRUNG_VERSION := 1.11.0 +UNSTRUNG_MD5 := b18fa7644f19688e75eb37475816d73a +UNSTRUNG := unstrung-$(UNSTRUNG_VERSION) +UNSTRUNG_SUFFIX := tar.gz +UNSTRUNG_URL := http://unstrung.sandelman.ca/downloads/$(UNSTRUNG).$(UNSTRUNG_SUFFIX) +UNSTRUNG_SOURCE := $(SRCDIR)/$(UNSTRUNG).$(UNSTRUNG_SUFFIX) +UNSTRUNG_DIR := $(BUILDDIR)/$(UNSTRUNG) +UNSTRUNG_LICENSE := GPL-2.0+ + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +UNSTRUNG_CONF_TOOL := NO +UNSTRUNG_COMPILE_ENV := \ + $(CROSS_ENV) \ + ARCH=$(PTXCONF_ARCH_STRING) \ + EMBEDDED=$(call ptx/ifdef,PTXCONF_UNSTRUNG_TESTING,,1) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/unstrung.targetinstall: + @$(call targetinfo) + + @$(call install_init, unstrung) + @$(call install_fixup, unstrung,PRIORITY,optional) + @$(call install_fixup, unstrung,SECTION,base) + @$(call install_fixup, unstrung,AUTHOR,"Alexander Aring <aar@pengutronix.de>") + @$(call install_fixup, unstrung,DESCRIPTION,missing) + + @$(call install_copy, unstrung, 0, 0, 0755, -, /sbin/sunshine) + +ifdef PTXCONF_UNSTRUNG_TESTING + @$(call install_copy, unstrung, 0, 0, 0755, -, /sbin/peck) + @$(call install_copy, unstrung, 0, 0, 0755, -, /sbin/senddao) + @$(call install_copy, unstrung, 0, 0, 0755, -, /sbin/senddio) +endif + + @$(call install_finish, unstrung) + + @$(call touch) + +# vim: syntax=make |