pointercal: move recipe from oe-core

Move pointercal recipe from oe-core layer.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Maxin B. John
2016-09-16 14:19:14 +03:00
committed by Martin Jansa
parent dd01b4bdec
commit 0d103ba6b8
11 changed files with 31 additions and 0 deletions
@@ -0,0 +1,22 @@
SUMMARY = "Touchscreen calibration data"
SECTION = "base"
PR = "r11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=4b5fcfc87fb615860d398b5e38685edf"
SRC_URI = "file://pointercal \
file://COPYING"
S = "${WORKDIR}"
do_install() {
# Only install file if it has a contents
if [ -s ${S}/pointercal ]; then
install -d ${D}${sysconfdir}/
install -m 0644 ${S}/pointercal ${D}${sysconfdir}/
fi
}
ALLOW_EMPTY_${PN} = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
INHIBIT_DEFAULT_DEPS = "1"