2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE_URL
:=http
://xorg.freedesktop.org
/releases
/individual
/data
/
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_BUILD_DIR
:=$(BUILD_DIR
)/Xorg
/$(PKG_NAME
)-$(PKG_VERSION
)/
17 PKG_MD5SUM
:=9bf179be9a195953dc5f4c15e23ab7f0
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/xkbdata
29 URL
:=http
://xorg.freedesktop.org
/
32 define Package
/xkbdata
/install
33 $(INSTALL_DIR
) $(1)/usr
/share
/X11
/xkb
/{rules
,types
,keycodes
,geometry
,compat
,symbols
}
35 $(PKG_INSTALL_DIR
)/usr
/share
/X11
/xkb
/rules
/xorg \
36 $(1)/usr
/share
/X11
/xkb
/rules
/base
38 $(PKG_INSTALL_DIR
)/usr
/share
/X11
/xkb
/rules
/xorg.lst \
39 $(1)/usr
/share
/X11
/xkb
/rules
/base.lst
42 $(PKG_INSTALL_DIR
)/usr
/share
/X11
/xkb
/types
/* \
43 $(1)/usr
/share
/X11
/xkb
/types
/
46 $(PKG_INSTALL_DIR
)/usr
/share
/X11
/xkb
/keycodes
/{aliases
,xfree86
} \
47 $(1)/usr
/share
/X11
/xkb
/keycodes
/
50 $(PKG_INSTALL_DIR
)/usr
/share
/X11
/xkb
/geometry
/pc \
51 $(1)/usr
/share
/X11
/xkb
/geometry
/
54 $(PKG_INSTALL_DIR
)/usr
/share
/X11
/xkb
/compat
/* \
55 $(1)/usr
/share
/X11
/xkb
/compat
/
57 $(if
$(filter y
,$(CONFIG_TARGET_omap24xx_n810-gui
)), \
58 $(INSTALL_DIR
) $(1)/usr
/share
/X11
/xkb
/symbols
/nokia_vndr
; \
59 $(INSTALL_DATA
) .
/files
/nokia_n810
/rx-44
$(1)/usr
/share
/X11
/xkb
/symbols
/nokia_vndr
/; \
60 $(INSTALL_DATA
) .
/files
/nokia_n810
/su-8w
$(1)/usr
/share
/X11
/xkb
/symbols
/nokia_vndr
/; \
64 $(eval
$(call BuildPackage
,xkbdata
))