summaryrefslogtreecommitdiffstats
path: root/package/snmppp/snmppp.mk
blob: 57c49629389ae8c6bb95a453498433e8f725a6d7 (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
################################################################################
#
# snmp++
#
################################################################################

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_OPT = $(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_OPT += --enable-snmpv3
	SNMPPP_DEPENDENCIES += openssl
else
	SNMPPP_CONF_OPT += --disable-snmpv3
endif

$(eval $(autotools-package))