[packages] pure-ftpd: update to 1.0.28
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=xf86-input-mouse
11 PKG_RELEASE:=1
12 PKG_VERSION:=1.5.0
13
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
18
19 PKG_BUILD_DEPENDS:=randrproto inputproto xproto
20 PKG_INSTALL:=1
21
22 include $(INCLUDE_DIR)/package.mk
23 -include $(if $(DUMP),,$(STAGING_DIR)/mk/xorg-driver.mk)
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))