summaryrefslogtreecommitdiffstats
path: root/meta/packages/pointercal/pointercal_0.0.bb
blob: 6cf50241a683c2ede51fe31a484fc5baf715c5c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DESCRIPTION = "Touchscreen calibration data"
SECTION = "base"
PR = "r1"

SRC_URI = "file://pointercal"
S = "${WORKDIR}"

ALLOW_EMPTY_${PN} = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"

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
}