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
|
# -*-makefile-*-
#
# Copyright (C) 2009 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_XKEYBOARD_CONFIG) += xkeyboard-config
#
# Paths and names
#
XKEYBOARD_CONFIG_VERSION := 2.0
XKEYBOARD_CONFIG_MD5 := bb8a98ee61cdc4bd835fdfd2b5cee3e6
XKEYBOARD_CONFIG := xkeyboard-config-$(XKEYBOARD_CONFIG_VERSION)
XKEYBOARD_CONFIG_SUFFIX := tar.bz2
XKEYBOARD_CONFIG_URL := http://xlibs.freedesktop.org/xkbdesc/$(XKEYBOARD_CONFIG).$(XKEYBOARD_CONFIG_SUFFIX)
XKEYBOARD_CONFIG_SOURCE := $(SRCDIR)/$(XKEYBOARD_CONFIG).$(XKEYBOARD_CONFIG_SUFFIX)
XKEYBOARD_CONFIG_DIR := $(BUILDDIR)/$(XKEYBOARD_CONFIG)
XKEYBOARD_CONFIG_LICENSE := MIT
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
XKEYBOARD_CONFIG_PATH := PATH=$(CROSS_PATH)
XKEYBOARD_CONFIG_ENV := $(CROSS_ENV)
#
# autoconf
#
XKEYBOARD_CONFIG_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--datadir=$(XORG_DATADIR)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/xkeyboard-config.targetinstall:
@$(call targetinfo)
@$(call install_init, xkeyboard-config)
@$(call install_fixup, xkeyboard-config,PRIORITY,optional)
@$(call install_fixup, xkeyboard-config,SECTION,base)
@$(call install_fixup, xkeyboard-config,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
@$(call install_fixup, xkeyboard-config,DESCRIPTION,missing)
@cd $(XKEYBOARD_CONFIG_PKGDIR) && \
for dir in `find .$(XORG_DATADIR)/X11/xkb -type d`; do \
$(call install_copy, xkeyboard-config, 0, 0, 0755, /$$dir); \
done
@cd $(XKEYBOARD_CONFIG_PKGDIR) && \
for file in `find .$(XORG_DATADIR)/X11/xkb -type f`; do\
$(call install_copy, xkeyboard-config, 0, 0, 0644, \
$(XKEYBOARD_CONFIG_PKGDIR)/$$file, /$$file); \
done
@$(call install_finish, xkeyboard-config)
@$(call touch)
# vim: syntax=make
|