summaryrefslogtreecommitdiffstats
path: root/package/ulogd/ulogd.mk
blob: 34d8665275e5efa764396b25e7edf6561362b3aa (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
#############################################################
#
# ulogd
#
#############################################################

ULOGD_VERSION = 2.0.1
ULOGD_SOURCE = ulogd-$(ULOGD_VERSION).tar.bz2
ULOGD_SITE = http://www.netfilter.org/projects/ulogd/files
ULOGD_CONF_OPT = --with-dbi=no --with-pgsql=no
ULOGD_AUTORECONF = YES
ULOGD_DEPENDENCIES = host-pkgconf \
	libmnl libnetfilter_acct libnetfilter_conntrack libnetfilter_log \
	libnfnetlink $(if $(BR2_PACKAGE_SQLITE),sqlite)
ULOGD_LICENSE = GPLv2
ULOGD_LICENSE_FILES = COPYING

ifeq ($(BR2_PACKAGE_MYSQL_CLIENT),y)
ULOGD_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr
ULOGD_DEPENDENCIES += mysql_client
else
ULOGD_CONF_OPT += --with-mysql=no
endif

$(eval $(autotools-package))