[package] add xkeyboard-config and install shared libX11 directory correctly
[openwrt/svn-archive/archive.git] / Xorg / xorg / data / xkeyboard-config / Makefile
1 #
2 # Copyright (C) 2008-2010 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:=xkeyboard-config
11 PKG_VERSION:=1.7
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://xlibs.freedesktop.org/xkbdesc/
16 PKG_INSTALL:=1
17
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/xkeyboard-config
22 SECTION:=xorg-data
23 CATEGORY:=Xorg
24 SUBMENU:=data
25 TITLE:=xkeyboard-config
26 URL:=http://freedesktop.org/wiki/Software/XKeyboardConfig
27 endef
28
29 define Build/Configure
30 $(call Build/Configure/Default)
31 endef
32 define Package/xkeyboard-config/install
33 $(INSTALL_DIR) $(1)/usr/share/X11/xkb
34 $(CP) -v $(PKG_INSTALL_DIR)/usr/share/X11/xkb \
35 $(1)/usr/share/X11/
36 endef
37
38 $(eval $(call BuildPackage,xkeyboard-config))