mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
d1a5739b34
Fix the warning by pointing S to ${WORKDIR}/sources and UNPACKDIR to ${S}. Since recent UNPACKDIR work, default S directory is not created anymore. By setting UNPACKDIR to S, S in indirectly created in do_unpack.
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 lines
1.1 KiB
BlitzBasic
26 lines
1.1 KiB
BlitzBasic
SUMMARY = "Common files and packaging infrastructure for CT-API modules"
|
|
HOMEPAGE = "http://fedoraproject.org/"
|
|
SECTION = "System Environment/Libraries"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/ctapi-common.LICENSE;md5=8744cd52545ecb45befebd0da6f70f0a"
|
|
|
|
SRC_URI = "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.LICENSE \
|
|
https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.README"
|
|
SRC_URI[sha256sum] = "87a74eb0a66055c34ba2c5c919e74f3211c5950ae1c2cbab967fdf4137f5de91"
|
|
|
|
S = "${WORKDIR}/sources"
|
|
UNPACKDIR = "${S}"
|
|
|
|
do_compile() {
|
|
install -pm 644 ${UNPACKDIR}/ctapi-common.LICENSE LICENSE
|
|
install -pm 644 ${UNPACKDIR}/ctapi-common.README README
|
|
echo ${libdir}/ctapi > ctapi.conf
|
|
}
|
|
|
|
do_install() {
|
|
install -Dpm 644 ctapi.conf ${D}${sysconfdir}/ld.so.conf.d/ctapi-${TARGET_ARCH}.conf
|
|
install -dm 755 ${D}${libdir}/ctapi
|
|
}
|
|
|
|
FILES:${PN} += "${libdir}/ctapi"
|