summaryrefslogtreecommitdiff
path: root/snmp++/snmp++_3.2.10.oe
diff options
context:
space:
mode:
Diffstat (limited to 'snmp++/snmp++_3.2.10.oe')
-rw-r--r--snmp++/snmp++_3.2.10.oe20
1 files changed, 20 insertions, 0 deletions
diff --git a/snmp++/snmp++_3.2.10.oe b/snmp++/snmp++_3.2.10.oe
index e69de29bb2..415c3b2ca2 100644
--- a/snmp++/snmp++_3.2.10.oe
+++ b/snmp++/snmp++_3.2.10.oe
@@ -0,0 +1,20 @@
+DESCRIPTION = "A C++ SNMP library that supports SNMPv1, SNMPv2c and SNMPv3"
+SECTION = "libs"
+PRIORITY = "optional"
+RDEPENDS = "libc6"
+DEPENDS = "virtual/libc libdes libtomcrypt"
+
+SRC_URI = http://www.agentpp.com/${PN}v${PV}.tar.gz
+S = "${WORKDIR}/${PN}/src"
+
+CFLAGS_append = " -I../include"
+
+do_compile() {
+ oe_runmake -f Makefile.linux LIBDESDIR=${STAGING_LIBDIR} LIBTOMCRYPTDIR=${STAGING_LIBDIR}
+}
+
+do_stage() {
+ install -m 0755 ../lib/libsnmp++.a ${STAGING_LIBDIR}/
+ install -d ${STAGING_INCDIR}/snmp++
+ install -m 0644 ../include/*.h ${STAGING_INCDIR}/snmp++
+}