mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
916da56c12
Set the SH to the target path to avoid host contamination, which causes the following issue on some hosts: | WARNING: QA Issue: /usr/bin/smicache_libsmi contained in package libsmi requires /usr/bin/sh, but no providers found in its RDEPENDS [file-rdeps] | Computing transaction...error: Can't install libsmi-0.4.8-r0.0@corei7_64: no package provides /usr/bin/sh Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
31 lines
912 B
BlitzBasic
31 lines
912 B
BlitzBasic
SUMMARY = "A Library to Access SMI MIB Information"
|
|
HOMEPAGE = "https://www.ibr.cs.tu-bs.de/projects/libsmi"
|
|
|
|
LICENSE = "BSD"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=3ad3076f9332343a21636cfd351f05b7"
|
|
|
|
SRC_URI = "https://www.ibr.cs.tu-bs.de/projects/${BPN}/download/${BP}.tar.gz \
|
|
file://smi.conf \
|
|
file://libsmi-fix-the-test-dump-files.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "4bf47483c06c9f07d1b10fbc74eddf11"
|
|
SRC_URI[sha256sum] = "f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3"
|
|
|
|
inherit autotools
|
|
|
|
EXTRA_OECONF = "ac_cv_path_SH=${base_bindir}/sh"
|
|
|
|
do_install_append () {
|
|
install -d ${D}${sysconfdir}
|
|
install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf
|
|
}
|
|
|
|
PACKAGES += "${PN}-mibs ${PN}-pibs ${PN}-yang"
|
|
|
|
FILES_${PN}-mibs += "${datadir}/mibs"
|
|
FILES_${PN}-pibs += "${datadir}/pibs"
|
|
FILES_${PN}-yang += "${datadir}/yang"
|
|
|
|
RRECOMMENDS_${PN} = "${BPN}-mibs"
|