mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-05 14:56:57 +00:00
Now that it is a soft dependency for xinput-calibrator only generate packages for machines with actual calibration data Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
22 lines
558 B
BlitzBasic
22 lines
558 B
BlitzBasic
DESCRIPTION = "Touchscreen calibration data from xinput-calibrator"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
SECTION = "base"
|
|
|
|
PR = "r3"
|
|
|
|
SRC_URI = "file://pointercal.xinput"
|
|
S = "${WORKDIR}"
|
|
|
|
do_install() {
|
|
# Only install file if it has a contents
|
|
if [ -s ${S}/pointercal.xinput ]; then
|
|
install -d ${D}${sysconfdir}/
|
|
install -m 0644 ${S}/pointercal.xinput ${D}${sysconfdir}/
|
|
fi
|
|
}
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
CONFFILES_${PN} = "${sysconfdir}/pointercal.xinput"
|