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
|
# -*-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_LIB_X11) += xorg-lib-x11
#
# Paths and names
#
XORG_LIB_X11_VERSION := 1.6.8
XORG_LIB_X11_MD5 := c5fa5a86a20e3591bed6c046498d4b8f
XORG_LIB_X11 := libX11-$(XORG_LIB_X11_VERSION)
XORG_LIB_X11_SUFFIX := tar.bz2
XORG_LIB_X11_URL := $(call ptx/mirror, XORG, individual/lib/$(XORG_LIB_X11).$(XORG_LIB_X11_SUFFIX))
XORG_LIB_X11_SOURCE := $(SRCDIR)/$(XORG_LIB_X11).$(XORG_LIB_X11_SUFFIX)
XORG_LIB_X11_DIR := $(BUILDDIR)/$(XORG_LIB_X11)
XORG_LIB_X11_LICENSE := MIT
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
XORG_LIB_X11_CONF_ENV := \
$(CROSS_ENV) \
ac_cv_path_RAWCPP=$(PTXCONF_COMPILER_PREFIX)cpp
# configure states: "checking for working mmap...no"
# is this a correct fix?
XORG_LIB_X11_CONF_ENV += ac_cv_func_mmap_fixed_mapped=yes
#
# autoconf
#
XORG_LIB_X11_CONF_TOOL := autoconf
XORG_LIB_X11_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--datadir=$(XORG_DATADIR) \
--disable-selective-werror \
--disable-strict-compilation \
--disable-specs \
$(XORG_OPTIONS_TRANS) \
--$(call ptx/endis, PTXCONF_XORG_LIB_X11_I18N)-loadable-i18n \
--$(call ptx/endis, PTXCONF_XORG_LIB_X11_CURSOR)-loadable-xcursor \
--enable-xthreads \
--enable-xcms \
--enable-xlocale \
--enable-xlocaledir \
--$(call ptx/endis, PTXCONF_XORG_LIB_X11_XF86BIGFONT)-xf86bigfont \
--$(call ptx/endis, PTXCONF_XORG_LIB_X11_XKB)-xkb \
--enable-composecache \
--disable-lint-library \
--disable-malloc0returnsnull \
$(XORG_OPTIONS_DOCS) \
--without-perl \
--without-launchd \
--without-lint \
--with-locale-lib-dir=$(XORG_DATADIR)/X11/locale
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/xorg-lib-x11.targetinstall:
@$(call targetinfo)
@$(call install_init, xorg-lib-x11)
@$(call install_fixup, xorg-lib-x11,PRIORITY,optional)
@$(call install_fixup, xorg-lib-x11,SECTION,base)
@$(call install_fixup, xorg-lib-x11,AUTHOR,"Erwin Rol <ero@pengutronix.de>")
@$(call install_fixup, xorg-lib-x11,DESCRIPTION,missing)
@$(call install_lib, xorg-lib-x11, 0, 0, 0644, libX11)
@$(call install_lib, xorg-lib-x11, 0, 0, 0644, libX11-xcb)
@$(call install_finish, xorg-lib-x11)
@$(call touch)
# vim: syntax=make
|