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
|
# -*-makefile-*-
#
# Copyright (C) 2006 by Sascha Hauer
# 2009 by Marc Kleine-Budde <mkl@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_XORG_APP_XHOST) += xorg-app-xhost
#
# Paths and names
#
XORG_APP_XHOST_VERSION := 1.0.3
XORG_APP_XHOST := xhost-$(XORG_APP_XHOST_VERSION)
XORG_APP_XHOST_SUFFIX := tar.bz2
XORG_APP_XHOST_URL := $(PTXCONF_SETUP_XORGMIRROR)/individual/app/$(XORG_APP_XHOST).$(XORG_APP_XHOST_SUFFIX)
XORG_APP_XHOST_SOURCE := $(SRCDIR)/$(XORG_APP_XHOST).$(XORG_APP_XHOST_SUFFIX)
XORG_APP_XHOST_DIR := $(BUILDDIR)/$(XORG_APP_XHOST)
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
$(XORG_APP_XHOST_SOURCE):
@$(call targetinfo)
@$(call get, XORG_APP_XHOST)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
XORG_APP_XHOST_PATH := PATH=$(CROSS_PATH)
XORG_APP_XHOST_ENV := $(CROSS_ENV)
#
# autoconf
#
XORG_APP_XHOST_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
$(XORG_OPTIONS_TRANS) \
--datadir=$(PTXCONF_XORG_DEFAULT_DATA_DIR)
ifdef PTXCONF_XORG_SERVER_OPT_SECURE_RPC
XORG_APP_XHOST_AUTOCONF += --enable-secure-rpc
else
XORG_APP_XHOST_AUTOCONF += --disable-secure-rpc
endif
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/xorg-app-xhost.targetinstall:
@$(call targetinfo)
@$(call install_init, xorg-app-xhost)
@$(call install_fixup, xorg-app-xhost,PACKAGE,xorg-app-xhost)
@$(call install_fixup, xorg-app-xhost,PRIORITY,optional)
@$(call install_fixup, xorg-app-xhost,VERSION,$(XORG_APP_XHOST_VERSION))
@$(call install_fixup, xorg-app-xhost,SECTION,base)
@$(call install_fixup, xorg-app-xhost,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, xorg-app-xhost,DEPENDS,)
@$(call install_fixup, xorg-app-xhost,DESCRIPTION,missing)
@$(call install_copy, xorg-app-xhost, 0, 0, 0755, -, \
$(XORG_PREFIX)/bin/xhost)
@$(call install_finish, xorg-app-xhost)
@$(call touch)
# vim: syntax=make
|