Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "A Library to Access SMI MIB Information" |
| 2 | HOMEPAGE = "https://www.ibr.cs.tu-bs.de/projects/libsmi" |
| 3 | |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 4 | LICENSE = "BSD-3-Clause & tcl" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=3ad3076f9332343a21636cfd351f05b7" |
| 6 | |
| 7 | SRC_URI = "https://www.ibr.cs.tu-bs.de/projects/${BPN}/download/${BP}.tar.gz \ |
| 8 | file://smi.conf \ |
| 9 | file://libsmi-fix-the-test-dump-files.patch \ |
| 10 | " |
| 11 | |
| 12 | SRC_URI[md5sum] = "4bf47483c06c9f07d1b10fbc74eddf11" |
| 13 | SRC_URI[sha256sum] = "f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3" |
| 14 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 15 | RDEPENDS:${PN} += "wget" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 16 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 17 | inherit autotools |
| 18 | |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 19 | EXTRA_OECONF = "ac_cv_path_SH=/bin/sh ac_cv_path_WGET=${bindir}/wget ac_cv_path_AWK=${bindir}/awk" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 21 | do_install:append () { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 22 | install -d ${D}${sysconfdir} |
| 23 | install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf |
| 24 | } |
| 25 | |
| 26 | PACKAGES += "${PN}-mibs ${PN}-pibs ${PN}-yang" |
| 27 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 28 | FILES:${PN}-mibs += "${datadir}/mibs" |
| 29 | FILES:${PN}-pibs += "${datadir}/pibs" |
| 30 | FILES:${PN}-yang += "${datadir}/yang" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 31 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 32 | RRECOMMENDS:${PN} = "${BPN}-mibs" |