summaryrefslogtreecommitdiff
path: root/packages/net-snmp/net-snmp_5.1.2.bb
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-08-11 10:33:01 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-08-11 10:33:01 +0000
commitaa95fa3c6ced03802b4290eadcbef5383c8f49a9 (patch)
tree75d1e89a084cb8d09f3577a7094bbce4cbc29ec7 /packages/net-snmp/net-snmp_5.1.2.bb
parent49cb306e40612f9cf13f8026ad8a1a8c63f4b001 (diff)
net-snmp: Add the -dbg package to hold the new .debug files and directories.
Update the file specifications to ensure none of the debug files end up in the main packages.
Diffstat (limited to 'packages/net-snmp/net-snmp_5.1.2.bb')
-rw-r--r--packages/net-snmp/net-snmp_5.1.2.bb11
1 files changed, 7 insertions, 4 deletions
diff --git a/packages/net-snmp/net-snmp_5.1.2.bb b/packages/net-snmp/net-snmp_5.1.2.bb
index 2fec075716..d60b03a746 100644
--- a/packages/net-snmp/net-snmp_5.1.2.bb
+++ b/packages/net-snmp/net-snmp_5.1.2.bb
@@ -3,6 +3,8 @@ HOMEPAGE = "http://www.net-snmp.org/"
LICENSE = "BSD"
MAINTAINER = "Bruno Randolf <bruno.randolf@4g-systems.biz>"
DEPENDS = "openssl"
+PR = "r1"
+
SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.tar.gz \
file://uclibc-fix.patch;patch=1 \
file://init \
@@ -36,11 +38,12 @@ do_install_append() {
install -m 644 ${WORKDIR}/snmptrapd.conf ${D}${sysconfdir}/snmp/
}
-PACKAGES = "net-snmp-doc net-snmp-dev net-snmp-libs net-snmp-mibs net-snmp-server net-snmp-client"
-FILES_net-snmp-libs = "${libdir}"
+PACKAGES = "net-snmp-dbg net-snmp-doc net-snmp-dev net-snmp-libs net-snmp-mibs net-snmp-server net-snmp-client"
+FILES_net-snmp-libs = "${libdir}/*"
FILES_net-snmp-mibs = "${datadir}/snmp/mibs"
-FILES_net-snmp-server = "${sbindir} ${sysconfdir}"
-FILES_net-snmp-client = "${bindir} ${datadir}/snmp/"
+FILES_net-snmp-server = "${sbindir}/* ${sysconfdir}"
+FILES_net-snmp-client = "${bindir}/* ${datadir}/snmp/"
+FILES_net-snmp-dbg += "${libdir}/.debug/ ${sbindir}/.debug/ ${bindir}/.debug/"
RDEPENDS_net-snmp-server += "net-snmp-mibs"
RDEPENDS_net-snmp-client += "net-snmp-mibs"