packages: move Xorg category to its own feed, move X-related packages as well
[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:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://xlibs.freedesktop.org/xkbdesc/
16 PKG_MD5SUM:=d351c0109fac166edcedad32d1b0e38e
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/xkeyboard-config
23 SECTION:=xorg-data
24 CATEGORY:=Xorg
25 SUBMENU:=data
26 TITLE:=xkeyboard-config
27 DEPENDS:=+xkbcomp
28 URL:=http://freedesktop.org/wiki/Software/XKeyboardConfig
29 endef
30
31 define Package/xkeyboard-config/install
32 $(INSTALL_DIR) $(1)/usr/share/X11
33 $(CP) $(PKG_INSTALL_DIR)/usr/share/X11/xkb $(1)/usr/share/X11/
34 endef
35
36 $(eval $(call RequireCommand,intltool-update, \
37 $(PKG_NAME) requires intltool installed on the host-system. \
38 ))
39
40 $(eval $(call BuildPackage,xkeyboard-config))