1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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 := LGPL-2.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
|