mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 08:27:53 +02:00
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to
a subdir of WORKDIR and make S point at this instead.
I've chosen not to force S into any standard UNPACKDIR we may pick in
future just so the S = UNPACKDIR case is clearly visible by the
directory naming under WORKDIR as that should aid usability.
(From OE-Core rev: d9328e3b0b062f0621de3d114584b44f384a1c02)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
859 B
BlitzBasic
25 lines
859 B
BlitzBasic
SUMMARY = "Touchscreen calibration data from xinput-calibrator"
|
|
DESCRIPTION = "A generic touchscreen calibration program for X.Org"
|
|
HOMEPAGE = "https://www.freedesktop.org/wiki/Software/xinput_calibrator/"
|
|
BUGTRACKER = "https://github.com/tias/xinput_calibrator/issues"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
|
|
SRC_URI = "file://pointercal.xinput"
|
|
|
|
S = "${WORKDIR}/sources"
|
|
UNPACKDIR = "${S}"
|
|
|
|
do_install() {
|
|
# Only install file if it has a contents
|
|
if [ -s ${S}/pointercal.xinput ] &&\
|
|
[ ! -n "$(head -n1 ${S}/pointercal.xinput|grep "replace.*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"
|