2008-12-14 23:01:10 +00:00
|
|
|
#
|
2007-09-25 20:23:15 +00:00
|
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2008-12-14 23:01:10 +00:00
|
|
|
# $Id$
|
|
|
|
|
2007-09-25 20:23:15 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=xf86-input-mouse
|
2008-12-16 21:15:33 +00:00
|
|
|
PKG_RELEASE:=4
|
2008-11-16 19:31:42 +00:00
|
|
|
PKG_VERSION:=1.3.0
|
2008-12-16 21:15:33 +00:00
|
|
|
|
2008-11-16 19:31:42 +00:00
|
|
|
PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/driver
|
2007-09-25 20:23:15 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
2008-12-14 23:01:10 +00:00
|
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
|
2008-12-16 21:15:33 +00:00
|
|
|
PKG_MD5SUM:=31a51b0e5ddc4fac19754f48a3adf881
|
2008-12-14 23:01:10 +00:00
|
|
|
PKG_BUILD_DEPENDS:=randrproto inputproto xproto
|
2007-09-25 20:23:15 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2008-12-14 23:01:10 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2007-09-25 20:23:15 +00:00
|
|
|
define Package/xf86-input-mouse
|
|
|
|
SECTION:=xorg-driver
|
|
|
|
CATEGORY:=Xorg
|
|
|
|
SUBMENU:=driver
|
2008-12-14 23:01:10 +00:00
|
|
|
DEPENDS:=+xserver-xorg
|
2007-09-25 20:23:15 +00:00
|
|
|
TITLE:=xf86-input-mouse
|
|
|
|
URL:=http://xorg.freedesktop.org/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/xf86-input-mouse/install
|
2008-12-14 23:01:10 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/mouse_drv.so \
|
|
|
|
$(1)/usr/lib/xorg/modules/input/
|
2007-09-25 20:23:15 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,xf86-input-mouse))
|