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 Erwin Rol
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_XORG_APP_XDM) += xorg-app-xdm
#
# Paths and names
#
XORG_APP_XDM_VERSION := 1.1.12
XORG_APP_XDM_MD5 := 47c4c3bf8d59b64b64d134df8b5e5ec5
XORG_APP_XDM := xdm-$(XORG_APP_XDM_VERSION)
XORG_APP_XDM_SUFFIX := tar.bz2
XORG_APP_XDM_URL := $(call ptx/mirror, XORG, individual/app/$(XORG_APP_XDM).$(XORG_APP_XDM_SUFFIX))
XORG_APP_XDM_SOURCE := $(SRCDIR)/$(XORG_APP_XDM).$(XORG_APP_XDM_SUFFIX)
XORG_APP_XDM_DIR := $(BUILDDIR)/$(XORG_APP_XDM)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
XORG_APP_XDM_BINCONFIG_GLOB := ""
#
# autoconf
#
XORG_APP_XDM_CONF_TOOL := autoconf
XORG_APP_XDM_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
$(XORG_OPTIONS_TRANS) \
--$(call ptx/endis, PTXCONF_XORG_SERVER_OPT_SECURE_RPC)-secure-rpc \
--datadir=$(XORG_DATADIR) \
--enable-xpm-logos \
--disable-xdmshell \
--disable-xdm-auth \
--without-pam \
--without-selinux \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
--with-random-device=$(XORG_APP_XDM_DEV_RANDOM) \
--with-utmp-file=/var/run/utmp \
--with-wtmp-file=/var/log/wtmp
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/xorg-app-xdm.targetinstall:
@$(call targetinfo)
@$(call install_init, xorg-app-xdm)
@$(call install_fixup, xorg-app-xdm,PRIORITY,optional)
@$(call install_fixup, xorg-app-xdm,SECTION,base)
@$(call install_fixup, xorg-app-xdm,AUTHOR,"Erwin Rol <ero@pengutronix.de>")
@$(call install_fixup, xorg-app-xdm,DESCRIPTION,missing)
@$(call install_copy, xorg-app-xdm, 0, 0, 0755, -, /usr/bin/xdm)
ifdef PTXCONF_XORG_APP_XDM_SYSTEMD_UNIT
@$(call install_alternative, xorg-app-xdm, 0, 0, 0644, \
/usr/lib/systemd/system/xdm.service)
@$(call install_link, xorg-app-xdm, ../xdm.service, \
/usr/lib/systemd/system/graphical.target.wants/xdm.service)
endif
@$(call install_finish, xorg-app-xdm)
@$(call touch)
# vim: syntax=make
|