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
68
69
70
71
|
# -*-makefile-*-
#
# Copyright (C) 2002 by Pengutronix e.K., Hildesheim, Germany
# 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
# 2010 by 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_PORTMAP) += portmap
#
# Paths and names
#
PORTMAP_VERSION := 6.0
PORTMAP_MD5 := ac108ab68bf0f34477f8317791aaf1ff
PORTMAP := portmap_$(PORTMAP_VERSION)
PORTMAP_SUFFIX := tgz
PORTMAP_URL := http://fossies.org/linux/misc/old/portmap-$(PORTMAP_VERSION).$(PORTMAP_SUFFIX)
PORTMAP_SOURCE := $(SRCDIR)/portmap-$(PORTMAP_VERSION).$(PORTMAP_SUFFIX)
PORTMAP_DIR := $(BUILDDIR)/$(PORTMAP)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
PORTMAP_ENV := $(CROSS_ENV)
PORTMAP_PATH := PATH=$(CROSS_PATH)
PORTMAP_MAKE_OPT := CC=$(CROSS_CC) NO_TCP_WRAPPER=yes
PORTMAP_INSTALL_OPT := BASEDIR=$(PORTMAP_PKGDIR) install
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/portmap.targetinstall:
@$(call targetinfo)
@$(call install_init, portmap)
@$(call install_fixup, portmap,PRIORITY,optional)
@$(call install_fixup, portmap,SECTION,base)
@$(call install_fixup, portmap,AUTHOR,"Juergen Beisert <jbeisert@netscape.net>")
@$(call install_fixup, portmap,DESCRIPTION,missing)
@$(call install_copy, portmap, 0, 0, 0755, -, /sbin/portmap)
#
# busybox init
#
ifdef PTXCONF_INITMETHOD_BBINIT
ifdef PTXCONF_PORTMAP_STARTSCRIPT
@$(call install_alternative, portmap, 0, 0, 0755, /etc/init.d/portmapd, n)
ifneq ($(call remove_quotes,$(PTXCONF_PORTMAP_BBINIT_LINK)),)
@$(call install_link, portmap, \
../init.d/portmapd, \
/etc/rc.d/$(PTXCONF_PORTMAP_BBINIT_LINK))
endif
endif
endif
@$(call install_finish, portmap)
@$(call touch)
# vim: syntax=make
|