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.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=xf86-input-tslib
15 PKG_SOURCE_URL
:=http
://www.pengutronix.de
/software
/xf86-input-tslib
/download
/
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
17 PKG_BUILD_DIR
=$(BUILD_DIR
)/Xorg
/$(_CATEGORY
)/$(PKG_NAME
)-$(PKG_VERSION
)/
18 PKG_MD5SUM
:=4231b517d216e9f80ba66f13a0f30afd
19 PKG_BUILD_DEPENDS
:=randrproto inputproto xproto
22 include $(INCLUDE_DIR
)/package.mk
24 ifeq ($(CONFIG_TARGET_s3c24xx
),y
)
25 TS_POINTERCAL
=om_gta02
28 define Package
/xf86-input-tslib
32 DEPENDS
:=+xserver-xorg
+tslib
33 TITLE
:=xf86-input-tslib
34 URL
:=http
://www.pengutronix.de
/software
/xf86-input-tslib
/
37 define Package
/xf86-input-tslib
/install
38 $(INSTALL_DIR
) $(1)/usr
/lib
/xorg
/modules
/input
$(1)/etc
40 $(PKG_INSTALL_DIR
)/usr
/lib
/xorg
/modules
/input
/tslib_drv.so \
41 $(1)/usr
/lib
/xorg
/modules
/input
/
42 $(if
$(TS_POINTERCAL
), \
44 .
/files
/pointercal.
$(TS_POINTERCAL
) \
49 $(eval
$(call BuildPackage
,xf86-input-tslib
))