2 # Copyright (C) 2009-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=xf86-input-tslib
14 PKG_SOURCE_URL
:=http
://www.pengutronix.de
/software
/xf86-input-tslib
/download
/
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_BUILD_DIR
=$(BUILD_DIR
)/Xorg
/$(_CATEGORY
)/$(PKG_NAME
)-$(PKG_VERSION
)/
17 PKG_MD5SUM
:=b7a4d2f11637ee3fcf432e044b1d017f
19 PKG_BUILD_DEPENDS
:=randrproto inputproto xproto
23 include $(INCLUDE_DIR
)/package.mk
25 ifeq ($(CONFIG_TARGET_s3c24xx
),y
)
26 TS_POINTERCAL
=om_gta02
29 define Package
/xf86-input-tslib
33 DEPENDS
:=+xserver-xorg
+tslib
34 TITLE
:=xf86-input-tslib
35 URL
:=http
://www.pengutronix.de
/software
/xf86-input-tslib
/
38 define Package
/xf86-input-tslib
/install
39 $(INSTALL_DIR
) $(1)/usr
/lib
/xorg
/modules
/input
$(1)/etc
41 $(PKG_INSTALL_DIR
)/usr
/lib
/xorg
/modules
/input
/tslib_drv.so \
42 $(1)/usr
/lib
/xorg
/modules
/input
/
43 $(if
$(TS_POINTERCAL
), \
45 .
/files
/pointercal.
$(TS_POINTERCAL
) \
50 $(eval
$(call BuildPackage
,xf86-input-tslib
))