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
72
73
74
75
76
|
# -*-makefile-*-
#
# Copyright (C) 2006 by Juergen Beisert
#
# 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_FAM) += fam
#
# Paths and names
#
FAM_VERSION := 2.7.0
FAM_MD5 := 1bf3ae6c0c58d3201afc97c6a4834e39
FAM := fam-$(FAM_VERSION)
FAM_SUFFIX := tar.gz
FAM_URL := ftp://oss.sgi.com/projects/fam/download/stable/$(FAM).$(FAM_SUFFIX)
FAM_SOURCE := $(SRCDIR)/$(FAM).$(FAM_SUFFIX)
FAM_DIR := $(BUILDDIR)/$(FAM)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
FAM_CONF_TOOL := autoconf
FAM_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--disable-static
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/fam.targetinstall:
@$(call targetinfo)
@$(call install_init, fam)
@$(call install_fixup, fam,PRIORITY,optional)
@$(call install_fixup, fam,SECTION,base)
@$(call install_fixup, fam,AUTHOR,"Juergen Beisert <j.beisert@pengutronix.de>")
@$(call install_fixup, fam,DESCRIPTION,missing)
@$(call install_copy, fam, 0, 0, 0755, -, /usr/sbin/famd)
ifdef PTXCONF_FAM_DEFAULT_CONF
@$(call install_copy, fam, 0, 0, 0755, -, /etc/fam.conf, n)
endif
ifdef PTXCONF_FAM_LIBRARY
@$(call install_lib, fam, 0, 0, 0644, libfam)
endif
ifdef PTXCONF_FAM_STARTUP_TYPE_STANDALONE
ifdef PTXCONF_INITMETHOD_BBINIT
ifdef PTXCONF_FAM_STARTSCRIPT
@$(call install_alternative, fam, 0, 0, 0755, /etc/init.d/famd)
endif
endif
endif
ifdef PTXCONF_FAM_INETD_SERVER
@$(call install_alternative, fam, 0, 0, 0644, /etc/inetd.conf.d/fam)
endif
@$(call install_finish, fam)
@$(call touch)
# vim: syntax=make
|