(From meta-openembedded rev:
10cd81211f2054599728d5a4ce91e51b7cc853db)
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
DEPENDS = "virtual/libx11 libxi"
PV = "0.7.5+git${SRCPV}"
+PR = "r1"
inherit autotools
install -m 0755 scripts/xinput_calibrator_pointercal.sh ${D}${bindir}/xinput_calibrator_once.sh
install -d ${D}${sysconfdir}/xdg/autostart
- sed -i -e 's,^Exec=.*,Exec=/usr/bin/xinput_calibrator_once.sh,' scripts/xinput_calibrator.desktop
+ sed -i -e 's,^Exec=.*,Exec=${bindir}/xinput_calibrator_once.sh,' scripts/xinput_calibrator.desktop
install -m 0644 scripts/xinput_calibrator.desktop ${D}${sysconfdir}/xdg/autostart
}