From 9db8d874d5b44734dca0ee98eacd0aad8a9da00a Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 14 Oct 2013 10:47:15 -0300 Subject: [PATCH] snmppp: new package [Peter: add comment about why AUTORECONF is needed] Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/snmppp/Config.in | 12 ++++++++++++ package/snmppp/snmppp.mk | 17 +++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 package/snmppp/Config.in create mode 100644 package/snmppp/snmppp.mk diff --git a/package/Config.in b/package/Config.in index 7af6d420bd..0e6f86c0c3 100644 --- a/package/Config.in +++ b/package/Config.in @@ -637,6 +637,7 @@ source "package/omniorb/Config.in" source "package/openpgm/Config.in" source "package/ortp/Config.in" source "package/slirp/Config.in" +source "package/snmppp/Config.in" source "package/usbredir/Config.in" source "package/wvstreams/Config.in" source "package/zeromq/Config.in" diff --git a/package/snmppp/Config.in b/package/snmppp/Config.in new file mode 100644 index 0000000000..9757814b27 --- /dev/null +++ b/package/snmppp/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_SNMPPP + bool "snmp++" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_OPENSSL + help + SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3. + + http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html + +comment "snmp++ requires a toolchain with threads and C++ support enabled" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/snmppp/snmppp.mk b/package/snmppp/snmppp.mk new file mode 100644 index 0000000000..8e8fcebc14 --- /dev/null +++ b/package/snmppp/snmppp.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# snmp++ +# +################################################################################ + +SNMPPP_VERSION = 3.3.0 +SNMPPP_SOURCE = snmp++v$(SNMPPP_VERSION).tar.gz +SNMPPP_SITE = http://www.agentpp.com +SNMPPP_DEPENDENCIES = openssl host-pkgconf +SNMPPP_INSTALL_STAGING = YES +# no configure script in tarball +SNMPPP_AUTORECONF = YES +SNMPPP_LICENSE = SNMP++ +SNMPPP_LICENSE_FILES = snmp_pp/snmp_pp.cpp + +$(eval $(autotools-package)) -- 2.30.2