blob: 9982245925922454c13541987886b575c8215e50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
#
# Copyright (C) 2009-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=xf86-input-tslib
PKG_VERSION:=0.0.6
PKG_RELEASE:=3
PKG_SOURCE_URL:=http://www.pengutronix.de/software/xf86-input-tslib/download/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
PKG_MD5SUM:=b7a4d2f11637ee3fcf432e044b1d017f
PKG_BUILD_DEPENDS:=randrproto inputproto xproto
PKG_FIXUP:=libtool
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
ifeq ($(CONFIG_TARGET_s3c24xx),y)
TS_POINTERCAL=om_gta02
endif
define Package/xf86-input-tslib
SECTION:=xorg-driver
CATEGORY:=Xorg
SUBMENU:=driver
DEPENDS:=+xserver-xorg +tslib
TITLE:=xf86-input-tslib
URL:=http://www.pengutronix.de/software/xf86-input-tslib/
endef
define Package/xf86-input-tslib/install
$(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input $(1)/etc
$(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/tslib_drv.so \
$(1)/usr/lib/xorg/modules/input/
$(if $(TS_POINTERCAL), \
$(INSTALL_DATA) \
./files/pointercal.$(TS_POINTERCAL) \
$(1)/etc/pointercal \
)
endef
$(eval $(call BuildPackage,xf86-input-tslib))
|