lars 7a5c5bd30b Cleanup xf86-input-keyboard makefile.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@13638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-14 22:53:30 +00:00

40 lines
1003 B
Makefile

#
# Copyright (C) 2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=xf86-input-keyboard
PKG_RELEASE:=3
PKG_VERSION:=1.3.1
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/driver
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
PKG_BUILD_DEPENDS:=randrproto inputproto kbproto xproto
include $(INCLUDE_DIR)/package.mk
PKG_INSTALL:=1
define Package/xf86-input-keyboard
SECTION:=xorg-driver
CATEGORY:=Xorg
SUBMENU:=driver
DEPENDS:=+xserver-xorg
TITLE:=xf86-input-keyboard
URL:=http://xorg.freedesktop.org/
endef
define Package/xf86-input-keyboard/install
$(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input
$(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/kbd_drv.so \
$(1)/usr/lib/xorg/modules/input/
endef
$(eval $(call BuildPackage,xf86-input-keyboard))