summaryrefslogtreecommitdiffstats
path: root/package/snmppp/snmppp.mk
blob: 84d4374c1302db745e26dce1f9d07b16ad259d7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
################################################################################
#
# snmppp
#
################################################################################

SNMPPP_VERSION = 3.3.4
SNMPPP_SOURCE = snmp++-$(SNMPPP_VERSION).tar.gz
SNMPPP_SITE = http://www.agentpp.com
SNMPPP_DEPENDENCIES = host-pkgconf
SNMPPP_INSTALL_STAGING = YES
# no configure script in tarball
SNMPPP_AUTORECONF = YES
SNMPPP_CONF_OPTS = $(if $(BR2_PACKAGE_SNMPPP_LOGGING),--enable-logging,--disable-logging)
SNMPPP_LICENSE = SNMP++
SNMPPP_LICENSE_FILES = src/v3.cpp

ifeq ($(BR2_PACKAGE_SNMPPP_SNMPV3),y)
	SNMPPP_CONF_OPTS += --enable-snmpv3
	SNMPPP_DEPENDENCIES += openssl
else
	SNMPPP_CONF_OPTS += --disable-snmpv3
endif

$(eval $(autotools-package))
OpenPOWER on IntegriCloud