summaryrefslogtreecommitdiff
path: root/package/xf86-input-evtouch/Makefile
blob: 9068cfe0bb73cf15ff6b9ec1a51be77dab58b910 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		xf86-input-evtouch
PKG_VERSION:=		0.8.8
PKG_RELEASE:=		1
PKG_MD5SUM:=		4d8e092356d8353002f60a4907046c13
PKG_DESCR:=		X11 driver for touchscreen
PKG_SECTION:=		x11/drivers
PKG_DEPENDS:=		xorg-server kmod-input-evdev
PKG_BUILDDEP:=		xorg-server
PKG_SITES:=		http://www.conan.de/touchscreen/
PKG_NEED_CXX:=		1

PKG_ARCH_DEPENDS:=      !arm !avr32
PKG_CFLINE_XF86_INPUT_EVTOUCH:=	depends on ADK_TARGET_WITH_INPUT

DISTFILES:= 		${PKG_NAME}-${PKG_VERSION}.tar.bz2

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,XF86_INPUT_EVTOUCH,${PKG_NAME},$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

post-install:
	${INSTALL_DIR} ${IDIR_XF86_INPUT_EVTOUCH}/usr/lib/xorg/modules/input
	${CP} ${WRKINST}/usr/lib/xorg/modules/input/evtouch_drv.so \
		${IDIR_XF86_INPUT_EVTOUCH}/usr/lib/xorg/modules/input/

include ${TOPDIR}/mk/pkg-bottom.mk