Cleanup xf86-input-keyboard makefile.
[openwrt/svn-archive/archive.git] / Xorg / xorg / driver / xf86-input-keyboard / 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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=xf86-input-keyboard
12 PKG_RELEASE:=3
13 PKG_VERSION:=1.3.1
14 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/driver
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
17 PKG_BUILD_DEPENDS:=randrproto inputproto kbproto xproto
18
19 include $(INCLUDE_DIR)/package.mk
20
21 PKG_INSTALL:=1
22
23 define Package/xf86-input-keyboard
24 SECTION:=xorg-driver
25 CATEGORY:=Xorg
26 SUBMENU:=driver
27 DEPENDS:=+xserver-xorg
28 TITLE:=xf86-input-keyboard
29 URL:=http://xorg.freedesktop.org/
30 endef
31
32 define Package/xf86-input-keyboard/install
33 $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input
34 $(INSTALL_DATA) \
35 $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/kbd_drv.so \
36 $(1)/usr/lib/xorg/modules/input/
37 endef
38
39 $(eval $(call BuildPackage,xf86-input-keyboard))