blob: a98f32be486df6cf51300af1c19dafc898e4b4a9 [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
Brad Bishope42b3e32020-01-15 22:08:42 -05004LICENSE = "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 \
10 "
11
12SRC_URI[md5sum] = "4bf47483c06c9f07d1b10fbc74eddf11"
13SRC_URI[sha256sum] = "f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3"
14
Patrick Williams213cb262021-08-07 19:21:33 -050015RDEPENDS:${PN} += "wget"
Patrick Williamsddad1a12017-02-23 20:36:32 -060016
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017inherit autotools
18
Andrew Geisslere34f8962021-04-15 15:53:51 -050019EXTRA_OECONF = "ac_cv_path_SH=/bin/sh ac_cv_path_WGET=${bindir}/wget ac_cv_path_AWK=${bindir}/awk"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020
Patrick Williams213cb262021-08-07 19:21:33 -050021do_install:append () {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050022 install -d ${D}${sysconfdir}
23 install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf
24}
25
26PACKAGES += "${PN}-mibs ${PN}-pibs ${PN}-yang"
27
Patrick Williams213cb262021-08-07 19:21:33 -050028FILES:${PN}-mibs += "${datadir}/mibs"
29FILES:${PN}-pibs += "${datadir}/pibs"
30FILES:${PN}-yang += "${datadir}/yang"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050031
Patrick Williams213cb262021-08-07 19:21:33 -050032RRECOMMENDS:${PN} = "${BPN}-mibs"