9db65d036517aff1a3d9ba52270b062ffd64b555
[openwrt/svn-archive/archive.git] / Xorg / xorg / driver / xf86-input-mouse / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=xf86-input-mouse
12 PKG_RELEASE:=4
13 PKG_VERSION:=1.3.0
14
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
20
21 include $(INCLUDE_DIR)/package.mk
22
23 PKG_INSTALL:=1
24
25 define Package/xf86-input-mouse
26 SECTION:=xorg-driver
27 CATEGORY:=Xorg
28 SUBMENU:=driver
29 DEPENDS:=+xserver-xorg
30 TITLE:=xf86-input-mouse
31 URL:=http://xorg.freedesktop.org/
32 endef
33
34 define Package/xf86-input-mouse/install
35 $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input
36 $(INSTALL_DATA) \
37 $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/mouse_drv.so \
38 $(1)/usr/lib/xorg/modules/input/
39 endef
40
41 $(eval $(call BuildPackage,xf86-input-mouse))