summaryrefslogtreecommitdiff
path: root/snmp++
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
committerChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
commit06f7d17e81de21a95e35b03453242bc62b05a6aa (patch)
treebc9c53bce2c6a2fdce3caf5bb45bc3f8634b56be /snmp++
parent4b022a36ced4930af6bcdeb7d75a5ed10c4ac9cd (diff)
First pass of .oe cleanups.
BKrev: 40529f4crFtRY5_1DubNmWhDeHSmPw
Diffstat (limited to 'snmp++')
-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++
+}