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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
# -*-makefile-*-
#
# Copyright (C) 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_CONSOLEKIT) += consolekit
#
# Paths and names
#
CONSOLEKIT_VERSION := 0.4.1
CONSOLEKIT_MD5 := 48eda4483cc97841d5f88e8e003eb6d7
CONSOLEKIT := ConsoleKit-$(CONSOLEKIT_VERSION)
CONSOLEKIT_SUFFIX := tar.bz2
CONSOLEKIT_URL := http://www.freedesktop.org/software/ConsoleKit/dist/$(CONSOLEKIT).$(CONSOLEKIT_SUFFIX)
CONSOLEKIT_SOURCE := $(SRCDIR)/$(CONSOLEKIT).$(CONSOLEKIT_SUFFIX)
CONSOLEKIT_DIR := $(BUILDDIR)/$(CONSOLEKIT)
CONSOLEKIT_LICENSE := GPL-2.0
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
CONSOLEKIT_CONF_TOOL := autoconf
CONSOLEKIT_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--disable-pam-module \
--disable-docbook-docs \
--with-dbus-sys=/usr/share/dbus-1/system.d
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/consolekit.targetinstall:
@$(call targetinfo)
@$(call install_init, consolekit)
@$(call install_fixup, consolekit,PRIORITY,optional)
@$(call install_fixup, consolekit,SECTION,base)
@$(call install_fixup, consolekit,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
@$(call install_fixup, consolekit,DESCRIPTION,missing)
@$(call install_copy, consolekit, 0, 0, 0644, -, \
/etc/ConsoleKit/seats.d/00-primary.seat)
# dbus
@$(call install_copy, consolekit, 0, 0, 0644, -, \
/usr/share/dbus-1/system.d/ConsoleKit.conf)
@$(call install_copy, consolekit, 0, 0, 0644, -, \
/usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Manager.xml)
@$(call install_copy, consolekit, 0, 0, 0644, -, \
/usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Seat.xml)
@$(call install_copy, consolekit, 0, 0, 0644, -, \
/usr/share/dbus-1/interfaces/org.freedesktop.ConsoleKit.Session.xml)
@$(call install_copy, consolekit, 0, 0, 0644, -, \
/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service)
# polkit
@$(call install_copy, consolekit, 0, 0, 0644, -, \
/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/bin/ck-history)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/bin/ck-launch-session)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/bin/ck-list-sessions)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/lib/ConsoleKit/scripts/ck-system-restart)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/lib/ConsoleKit/scripts/ck-system-stop)
@$(call install_lib, consolekit, 0, 0, 0644, libck-connector)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/libexec/ck-collect-session-info)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/libexec/ck-get-x11-display-device)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/libexec/ck-get-x11-server-pid)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/sbin/ck-log-system-restart)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/sbin/ck-log-system-start)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/sbin/ck-log-system-stop)
@$(call install_copy, consolekit, 0, 0, 0755, -, \
/usr/sbin/console-kit-daemon)
@$(call install_finish, consolekit)
@$(call touch)
# vim: syntax=make
|