xkbdata: Add missing dependency to xkbcomp
[openwrt/svn-archive/archive.git] / Xorg / xorg / data / xkbdata / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=xkbdata
11 PKG_RELEASE:=2
12 PKG_VERSION:=1.0.1
13
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
18
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/xkbdata
24 SECTION:=xorg-data
25 CATEGORY:=Xorg
26 SUBMENU:=data
27 TITLE:=xkbdata
28 DEPENDS:=+xkbcomp
29 URL:=http://xorg.freedesktop.org/
30 endef
31
32 define Package/xkbdata/install
33 $(INSTALL_DIR) $(1)/usr/share/X11/xkb/{rules,types,keycodes,geometry,compat}
34 $(INSTALL_DATA) \
35 $(PKG_INSTALL_DIR)/usr/share/X11/xkb/rules/xorg \
36 $(1)/usr/share/X11/xkb/rules/base
37 $(INSTALL_DATA) \
38 $(PKG_INSTALL_DIR)/usr/share/X11/xkb/rules/xorg.lst \
39 $(1)/usr/share/X11/xkb/rules/base.lst
40
41 $(INSTALL_DATA) \
42 $(PKG_INSTALL_DIR)/usr/share/X11/xkb/types/* \
43 $(1)/usr/share/X11/xkb/types/
44
45 $(INSTALL_DATA) \
46 $(PKG_INSTALL_DIR)/usr/share/X11/xkb/keycodes/{aliases,xfree86} \
47 $(1)/usr/share/X11/xkb/keycodes/
48
49 $(INSTALL_DATA) \
50 $(PKG_INSTALL_DIR)/usr/share/X11/xkb/geometry/pc \
51 $(1)/usr/share/X11/xkb/geometry/
52
53 $(INSTALL_DATA) \
54 $(PKG_INSTALL_DIR)/usr/share/X11/xkb/compat/* \
55 $(1)/usr/share/X11/xkb/compat/
56 endef
57
58 $(eval $(call BuildPackage,xkbdata))