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
60
61
62
63
64
65
66
67
|
# -*-makefile-*-
#
# Copyright (C) 2007 by Ladislav Michl
# 2010 Michael Olbrich <m.olbrich@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_IFPLUGD) += ifplugd
#
# Paths and names
#
IFPLUGD_VERSION := 0.28
IFPLUGD_MD5 := df6f4bab52f46ffd6eb1f5912d4ccee3
IFPLUGD := ifplugd-$(IFPLUGD_VERSION)
IFPLUGD_SUFFIX := tar.gz
IFPLUGD_URL := http://0pointer.de/lennart/projects/ifplugd/$(IFPLUGD).$(IFPLUGD_SUFFIX)
IFPLUGD_SOURCE := $(SRCDIR)/$(IFPLUGD).$(IFPLUGD_SUFFIX)
IFPLUGD_DIR := $(BUILDDIR)/$(IFPLUGD)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
IFPLUGD_PATH := PATH=$(CROSS_PATH)
IFPLUGD_ENV := \
$(CROSS_ENV)
#
# autoconf
#
IFPLUGD_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--disable-lynx
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/ifplugd.targetinstall:
@$(call targetinfo)
@$(call install_init, ifplugd)
@$(call install_fixup, ifplugd,PRIORITY,optional)
@$(call install_fixup, ifplugd,SECTION,base)
@$(call install_fixup, ifplugd,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, ifplugd,DESCRIPTION,missing)
@$(call install_copy, ifplugd, 0, 0, 0755, -, /usr/sbin/ifplugd)
@$(call install_copy, ifplugd, 0, 0, 0755, -, /etc/ifplugd/ifplugd.action, n)
ifdef PTXCONF_IFPLUGD_STATUS
@$(call install_copy, ifplugd, 0, 0, 0755, -, /usr/sbin/ifplugstatus)
endif
@$(call install_finish, ifplugd)
@$(call touch)
# vim: syntax=make
|