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 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [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 \ |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 10 | file://0001-Define-createIdentifierRef-prototype-in-yang-complex.patch \ |
| 11 | file://0001-parser-yang-Define-_DEFAULT_SOURCE.patch \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 12 | " |
| 13 | |
| 14 | SRC_URI[md5sum] = "4bf47483c06c9f07d1b10fbc74eddf11" |
| 15 | SRC_URI[sha256sum] = "f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3" |
| 16 | |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame^] | 17 | DEPENDS += "bison-native flex-native wget-native gawk-native" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 18 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 19 | inherit autotools-brokensep |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame^] | 21 | EXTRA_OECONF = "ac_cv_path_SH=/bin/sh" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 22 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 23 | do_install:append () { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 24 | install -d ${D}${sysconfdir} |
| 25 | install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf |
| 26 | } |
| 27 | |
| 28 | PACKAGES += "${PN}-mibs ${PN}-pibs ${PN}-yang" |
| 29 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 30 | FILES:${PN}-mibs += "${datadir}/mibs" |
| 31 | FILES:${PN}-pibs += "${datadir}/pibs" |
| 32 | FILES:${PN}-yang += "${datadir}/yang" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 33 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 34 | RRECOMMENDS:${PN} = "${BPN}-mibs" |
Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [diff] [blame^] | 35 | |
| 36 | BBCLASSEXTEND = "native nativesdk" |