[packages] Use include_mk
[openwrt/svn-archive/archive.git] / Xorg / xorg / driver / xf86-input-keyboard / Makefile
1 #
2 # Copyright (C) 2009-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:=xf86-input-keyboard
11 PKG_VERSION:=1.4.0
12 PKG_RELEASE:=2
13
14 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/individual/driver
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_BUILD_DIR:=$(BUILD_DIR)/Xorg/$(PKG_NAME)-$(PKG_VERSION)/
17 PKG_MD5SUM:=fd17158ffeacecc8cc670604460cb98b
18
19 PKG_BUILD_DEPENDS:=randrproto inputproto kbproto xproto
20 PKG_FIXUP:=libtool
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24 $(call include_mk, xorg-driver.mk)
25
26 define Package/xf86-input-keyboard
27 SECTION:=xorg-driver
28 CATEGORY:=Xorg
29 SUBMENU:=driver
30 DEPENDS:=+xserver-xorg
31 TITLE:=xf86-input-keyboard
32 URL:=http://xorg.freedesktop.org/
33 endef
34
35 define Package/xf86-input-keyboard/install
36 $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input
37 $(INSTALL_DATA) \
38 $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/kbd_drv.so \
39 $(1)/usr/lib/xorg/modules/input/
40 endef
41
42 $(eval $(call BuildPackage,xf86-input-keyboard))