xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-bsp/pointercal/pointercal_0.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Touchscreen calibration data"
2SECTION = "base"
3PR = "r11"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=4b5fcfc87fb615860d398b5e38685edf"
6
7SRC_URI = "file://pointercal \
8           file://COPYING"
9
10S = "${WORKDIR}"
11
12do_install() {
13    # Only install file if it has a contents
14    if [ -s ${S}/pointercal ]; then
15        install -d ${D}${sysconfdir}/
16        install -m 0644 ${S}/pointercal ${D}${sysconfdir}/
17    fi
18}
19
20ALLOW_EMPTY:${PN} = "1"
21PACKAGE_ARCH = "${MACHINE_ARCH}"
22INHIBIT_DEFAULT_DEPS = "1"
23