2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
11 PKG_NAME:=xf86-input-mouse
15 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/driver
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
17 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
18 PKG_MD5SUM:=31a51b0e5ddc4fac19754f48a3adf881
19 PKG_BUILD_DEPENDS:=randrproto inputproto xproto
21 include $(INCLUDE_DIR)/package.mk
25 define Package/xf86-input-mouse
29 DEPENDS:=+xserver-xorg
30 TITLE:=xf86-input-mouse
31 URL:=http://xorg.freedesktop.org/
34 define Package/xf86-input-mouse/install
35 $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input
37 $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/mouse_drv.so \
38 $(1)/usr/lib/xorg/modules/input/
41 $(eval $(call BuildPackage,xf86-input-mouse))