Add cvs 1.12.9.
[vuplus_openembedded] / tslib / tslib.oe
1 PV = "0.0cvs${CVSDATE}"
2
3 DESCRIPTION = "tslib is a touchscreen access library."
4
5 CONFFILES_${PN} = "${sysconfdir}/ts.conf"
6
7 SRC_URI = "cvs://cvs:@pubcvs.arm.linux.org.uk/mnt/src/cvsroot;module=tslib \
8            file://automake.patch;patch=1 \
9            file://doc.patch;patch=1 \
10            file://zap.patch;patch=1 \
11            file://pthres.patch;patch=1 \
12            file://raw.patch;patch=1 \
13            file://raw-hwread.patch;patch=1 \
14            file://ts.conf"
15 #           file://collie-module.patch;patch=1
16 #           file://devfs.patch;patch=1
17 #           file://event1.patch;patch=1
18 #           file://multievent.patch;patch=1
19 #           file://pointercal.patch;patch=1
20 #           file://ts_calibrate.patch;patch=1
21 S = "${WORKDIR}/tslib"
22
23 inherit autotools
24
25 EXTRA_OECONF = "--enable-shared"
26
27 do_stage () {
28         oe_libinstall -so -C src libts-0.0 ${STAGING_LIBDIR}
29         ln -sf libts-0.0.so ${STAGING_LIBDIR}/libts.so
30         install -m 0644 src/tslib.h ${STAGING_INCDIR}/
31         install -m 0644 src/tslib-private.h ${STAGING_INCDIR}/
32 }
33
34 do_install_prepend () {
35         install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
36 }
37
38 FILES_tslib_append = " ${datadir}/ts/plugins/*.so"