pointercal-xinput_0.0.bb 831 B

12345678910111213141516171819202122
  1. SUMMARY = "Touchscreen calibration data from xinput-calibrator"
  2. DESCRIPTION = "A generic touchscreen calibration program for X.Org"
  3. HOMEPAGE = "https://www.freedesktop.org/wiki/Software/xinput_calibrator/"
  4. BUGTRACKER = "https://github.com/tias/xinput_calibrator/issues"
  5. LICENSE = "MIT"
  6. LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
  7. SRC_URI = "file://pointercal.xinput"
  8. S = "${WORKDIR}"
  9. do_install() {
  10. # Only install file if it has a contents
  11. if [ -s ${S}/pointercal.xinput ] &&\
  12. [ ! -n "$(head -n1 ${S}/pointercal.xinput|grep "replace.*pointercal\.xinput")" ]; then
  13. install -d ${D}${sysconfdir}/
  14. install -m 0644 ${S}/pointercal.xinput ${D}${sysconfdir}/
  15. fi
  16. }
  17. PACKAGE_ARCH = "${MACHINE_ARCH}"
  18. CONFFILES:${PN} = "${sysconfdir}/pointercal.xinput"