2009-01-26 23:04:59 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2009 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
|
2009-04-21 11:38:28 +00:00
|
|
|
PKG_RELEASE:=2
|
2009-01-26 23:04:59 +00:00
|
|
|
PKG_VERSION:=0.0.5
|
|
|
|
|
|
|
|
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:=4231b517d216e9f80ba66f13a0f30afd
|
|
|
|
PKG_BUILD_DEPENDS:=randrproto inputproto xproto
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2009-02-11 01:19:26 +00:00
|
|
|
ifeq ($(CONFIG_TARGET_s3c24xx),y)
|
|
|
|
TS_POINTERCAL=om_gta02
|
|
|
|
endif
|
|
|
|
|
2009-01-26 23:04:59 +00:00
|
|
|
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
|
2009-02-11 01:19:26 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/xorg/modules/input $(1)/etc
|
2009-01-26 23:04:59 +00:00
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_INSTALL_DIR)/usr/lib/xorg/modules/input/tslib_drv.so \
|
|
|
|
$(1)/usr/lib/xorg/modules/input/
|
2009-02-11 01:19:26 +00:00
|
|
|
$(if $(TS_POINTERCAL), \
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
./files/pointercal.$(TS_POINTERCAL) \
|
|
|
|
$(1)/etc/pointercal \
|
|
|
|
)
|
2009-01-26 23:04:59 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,xf86-input-tslib))
|