blob: 07e2e29417405cffe69a98524cb5473c3b9ed9b9 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "A Library to Access SMI MIB Information"
2HOMEPAGE = "https://www.ibr.cs.tu-bs.de/projects/libsmi"
3
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "BSD-3-Clause & TCL"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005LIC_FILES_CHKSUM = "file://COPYING;md5=3ad3076f9332343a21636cfd351f05b7"
6
7SRC_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 Geissler87f5cff2022-09-30 13:13:31 -050010 file://0001-Define-createIdentifierRef-prototype-in-yang-complex.patch \
11 file://0001-parser-yang-Define-_DEFAULT_SOURCE.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050012 "
13
14SRC_URI[md5sum] = "4bf47483c06c9f07d1b10fbc74eddf11"
15SRC_URI[sha256sum] = "f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3"
16
Patrick Williamsac13d5f2023-11-24 18:59:46 -060017DEPENDS += "bison-native flex-native wget-native gawk-native"
Patrick Williamsddad1a12017-02-23 20:36:32 -060018
Andrew Geissler87f5cff2022-09-30 13:13:31 -050019inherit autotools-brokensep
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020
Patrick Williamsac13d5f2023-11-24 18:59:46 -060021EXTRA_OECONF = "ac_cv_path_SH=/bin/sh"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050022
Patrick Williams213cb262021-08-07 19:21:33 -050023do_install:append () {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050024 install -d ${D}${sysconfdir}
25 install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf
26}
27
28PACKAGES += "${PN}-mibs ${PN}-pibs ${PN}-yang"
29
Patrick Williams213cb262021-08-07 19:21:33 -050030FILES:${PN}-mibs += "${datadir}/mibs"
31FILES:${PN}-pibs += "${datadir}/pibs"
32FILES:${PN}-yang += "${datadir}/yang"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050033
Patrick Williams213cb262021-08-07 19:21:33 -050034RRECOMMENDS:${PN} = "${BPN}-mibs"
Patrick Williamsac13d5f2023-11-24 18:59:46 -060035
36BBCLASSEXTEND = "native nativesdk"