Cleanup xf86-input-evdev package makfile.
[openwrt/svn-archive/archive.git] / Xorg / xorg / driver / xf86-input-evdev / Makefile
1 #
2 # Copyright (C) 2007-2008 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-evdev
12 PKG_RELEASE:=3
13 PKG_VERSION:=2.0.4
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_BUILD_DEPENDS:=randrproto inputproto xproto
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/xf86-input-evdev
24 SECTION:=xorg-driver
25 CATEGORY:=Xorg
26 SUBMENU:=driver
27 DEPENDS:=+xserver-xorg
28 TITLE:=xf86-input-evdev
29 URL:=http://xorg.freedesktop.org/
30 endef
31
32 define Package/xf86-input-evdev/install
33 $(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input
34 $(INSTALL_DATA) \
35 $(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/evdev_drv.so \
36 $(1)/usr/lib/xorg/modules/input/
37 endef
38
39 $(eval $(call BuildPackage,xf86-input-evdev))