Koen Kooi 9477e53e8a pointercal-xinput: don't allow empty packages
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>
2011-04-21 12:20:01 +02:00

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"