2 # Copyright (C) 2009 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
:=4231b517d216e9f80ba66f13a0f30afd
18 PKG_BUILD_DEPENDS
:=randrproto inputproto xproto
21 include $(INCLUDE_DIR
)/package.mk
23 ifeq ($(CONFIG_TARGET_s3c24xx
),y
)
24 TS_POINTERCAL
=om_gta02
27 define Package
/xf86-input-tslib
31 DEPENDS
:=+xserver-xorg
+tslib
32 TITLE
:=xf86-input-tslib
33 URL
:=http
://www.pengutronix.de
/software
/xf86-input-tslib
/
36 define Package
/xf86-input-tslib
/install
37 $(INSTALL_DIR
) $(1)/usr
/lib
/xorg
/modules
/input
$(1)/etc
39 $(PKG_INSTALL_DIR
)/usr
/lib
/xorg
/modules
/input
/tslib_drv.so \
40 $(1)/usr
/lib
/xorg
/modules
/input
/
41 $(if
$(TS_POINTERCAL
), \
43 .
/files
/pointercal.
$(TS_POINTERCAL
) \
48 $(eval
$(call BuildPackage
,xf86-input-tslib
))