2 # Copyright (C) 2007-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=xf86-input-mouse
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:=c58629fddf0782dad5c02da6aeb35521
19 PKG_BUILD_DEPENDS:=randrproto inputproto xproto
23 include $(INCLUDE_DIR)/package.mk
24 $(call include_mk, xorg-driver.mk)
26 define Package/xf86-input-mouse
30 DEPENDS:=+xserver-xorg
31 TITLE:=xf86-input-mouse
32 URL:=http://xorg.freedesktop.org/
35 define Package/xf86-input-mouse/install
36 $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input
38 $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/mouse_drv.so \
39 $(1)/usr/lib/xorg/modules/input/
42 $(eval $(call BuildPackage,xf86-input-mouse))