diff options
author | Kai Kang <kai.kang@windriver.com> | 2015-11-04 17:46:36 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-11-06 17:53:55 +0100 |
commit | 79df19db58c1bd4820f2112e7f7f101d0f34bb0e (patch) | |
tree | 1ad497aef142a68dab85e748a9b33f0dfce801ef /meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb | |
parent | 9a233d0b7869f00f3c7ec412e172e3d1f72a499a (diff) | |
download | meta-openembedded-79df19db58c1bd4820f2112e7f7f101d0f34bb0e.tar.gz |
libsmi: add configure file
Add configure file duplicated from file smi.conf-example in source code
and replace paths with mibs files directories.
Then set libsmi-mibs as runtime recommend package to provide mibs files.
Add homepage and update SRC_URI as well.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb')
-rw-r--r-- | meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb b/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb index 2b036f901..227430d10 100644 --- a/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb +++ b/meta-oe/recipes-support/libsmi/libsmi_0.4.8.bb | |||
@@ -1,16 +1,26 @@ | |||
1 | SUMMARY = "A Library to Access SMI MIB Information" | 1 | SUMMARY = "A Library to Access SMI MIB Information" |
2 | HOMEPAGE = "https://www.ibr.cs.tu-bs.de/projects/libsmi" | ||
2 | 3 | ||
3 | LICENSE = "BSD" | 4 | LICENSE = "BSD" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=3ad3076f9332343a21636cfd351f05b7" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=3ad3076f9332343a21636cfd351f05b7" |
5 | 6 | ||
6 | SRC_URI = "ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/${BP}.tar.gz" | 7 | SRC_URI = "https://www.ibr.cs.tu-bs.de/projects/${BPN}/download/${BP}.tar.gz \ |
8 | file://smi.conf \ | ||
9 | " | ||
7 | 10 | ||
8 | SRC_URI[md5sum] = "760b6b1070738158708649ed2c63425e" | 11 | SRC_URI[md5sum] = "760b6b1070738158708649ed2c63425e" |
9 | SRC_URI[sha256sum] = "f048a5270f41bc88b0c3b0a8fe70ca4d716a46b531a0ecaaa87c462f49d74849" | 12 | SRC_URI[sha256sum] = "f048a5270f41bc88b0c3b0a8fe70ca4d716a46b531a0ecaaa87c462f49d74849" |
10 | 13 | ||
11 | inherit autotools | 14 | inherit autotools |
12 | 15 | ||
16 | do_install_append () { | ||
17 | install -d ${D}${sysconfdir} | ||
18 | install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf | ||
19 | } | ||
20 | |||
13 | PACKAGES += "${PN}-mibs ${PN}-pibs" | 21 | PACKAGES += "${PN}-mibs ${PN}-pibs" |
14 | 22 | ||
15 | FILES_${PN}-mibs += "${datadir}/mibs" | 23 | FILES_${PN}-mibs += "${datadir}/mibs" |
16 | FILES_${PN}-pibs += "${datadir}/pibs" | 24 | FILES_${PN}-pibs += "${datadir}/pibs" |
25 | |||
26 | RRECOMMENDS_${PN} = "${BPN}-mibs" | ||