summaryrefslogtreecommitdiff
path: root/recipes/xinput-calibrator/xinput-calibrator_0.6.1.bb
blob: 7dc6f29e13f2b30c063aba71d682bf71bdb239b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require xinput-calibrator.inc

SRC_URI = "git://github.com/tias/xinput_calibrator.git;protocol=git"

SRCREV = "d2ce98b3f638667dd64b6d718721379b2dc750a7"
PR = "${INC_PR}.0"
S = "${WORKDIR}/git/"

do_install_append() {
        install -d ${D}${bindir}
        install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
        ln -s ${bindir}/xinput_calibrator_x11 ${D}${bindir}/xinput_calibrator
        install -d ${D}${datadir}/applications/
        install -m 0755 scripts/xinput_calibrator.desktop ${D}${datadir}/applications/xinput-calibrator.desktop
        install -m 0755 scripts/xinput_calibrator_get_hal_calibration.sh ${D}${bindir}/xinput_calibrator_get_hal_calibration.sh
}