snmppp: new package

[Peter: add comment about why AUTORECONF is needed]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Gustavo Zacarias 2013-10-14 10:47:15 -03:00 committed by Peter Korsgaard
parent 05d59aa268
commit 9db8d874d5
3 changed files with 30 additions and 0 deletions

View File

@ -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"

12
package/snmppp/Config.in Normal file
View File

@ -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

17
package/snmppp/snmppp.mk Normal file
View File

@ -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))