diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2015-02-20 10:19:00 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-03-01 10:50:55 +0100 |
commit | 1f1831afb5617dec060143be51c1607c889320e7 (patch) | |
tree | 2cc036bb65c0d216beb83bf7bae1ccfbdd93682a /rules/libndp.make | |
parent | 6ac25921e7afb3e1f3d752665678c587ecd221b2 (diff) | |
download | ptxdist-1f1831afb5617dec060143be51c1607c889320e7.tar.gz ptxdist-1f1831afb5617dec060143be51c1607c889320e7.tar.xz |
libndp: add library for Neighbor Discovery Protocol
Add new package required by the new NetworkManager
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libndp.make')
-rw-r--r-- | rules/libndp.make | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/rules/libndp.make b/rules/libndp.make new file mode 100644 index 000000000..a4c535f61 --- /dev/null +++ b/rules/libndp.make @@ -0,0 +1,59 @@ +# -*-makefile-*- +# +# Copyright (C) 2015 by Juergen Borleis <jbe@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_LIBNDP) += libndp + +# +# Paths and names +# +LIBNDP_VERSION := 1.4 +LIBNDP_MD5 := 52c708d4b8729ae6e3781b3737a85e16 +LIBNDP := libndp-$(LIBNDP_VERSION) +LIBNDP_SUFFIX := tar.gz +LIBNDP_URL := http://libndp.org/files/$(LIBNDP).$(LIBNDP_SUFFIX) +LIBNDP_SOURCE := $(SRCDIR)/$(LIBNDP).$(LIBNDP_SUFFIX) +LIBNDP_DIR := $(BUILDDIR)/$(LIBNDP) +LIBNDP_LICENSE := LGPLv2.1 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +LIBNDP_CONF_TOOL := autoconf +LIBNDP_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-logging \ + --disable-debug + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libndp.targetinstall: + @$(call targetinfo) + + @$(call install_init, libndp) + @$(call install_fixup, libndp,PRIORITY,optional) + @$(call install_fixup, libndp,SECTION,base) + @$(call install_fixup, libndp,AUTHOR,"Juergen Borleis <jbe@pengutronix.de>") + @$(call install_fixup, libndp,DESCRIPTION,"Neighbor Discovery Protocol support") + + @$(call install_lib, libndp, 0, 0, 0644, libndp) +ifdef PTXCONF_LIBNDP_NDPTOOL + @$(call install_copy, libndp, 0, 0, 0755, -, /usr/bin/ndptool) +endif + @$(call install_finish, libndp) + + @$(call touch) + +# vim: syntax=make |