board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / ulogd / ulogd.mk
blob4017edc7bf6394a8128186f74ed7e1c31aef3256
1 ################################################################################
3 # ulogd
5 ################################################################################
7 ULOGD_VERSION = 2.0.5
8 ULOGD_SOURCE = ulogd-$(ULOGD_VERSION).tar.bz2
9 ULOGD_SITE = http://www.netfilter.org/projects/ulogd/files
10 ULOGD_CONF_OPTS = --with-dbi=no --with-pgsql=no
11 ULOGD_DEPENDENCIES = host-pkgconf \
12 libmnl libnetfilter_acct libnetfilter_conntrack libnetfilter_log \
13 libnfnetlink
14 ULOGD_LICENSE = GPLv2
15 ULOGD_LICENSE_FILES = COPYING
17 # DB backends need threads
18 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
19 ifeq ($(BR2_PACKAGE_MYSQL),y)
20 ULOGD_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr
21 ULOGD_DEPENDENCIES += mysql
22 else
23 ULOGD_CONF_OPTS += --with-mysql=no
24 endif
25 ifeq ($(BR2_PACKAGE_SQLITE),y)
26 ULOGD_DEPENDENCIES += sqlite
27 endif
28 else
29 ULOGD_CONF_OPTS += --with-mysql=no --without-sqlite
30 endif
32 ifeq ($(BR2_PACKAGE_LIBPCAP),y)
33 ULOGD_CONF_OPTS += --with-pcap
34 ULOGD_DEPENDENCIES += libpcap
35 else
36 ULOGD_CONF_OPTS += --without-pcap
37 endif
39 ifeq ($(BR2_PACKAGE_JANSSON),y)
40 ULOGD_CONF_OPTS += --with-jansson
41 ULOGD_DEPENDENCIES += jansson
42 else
43 ULOGD_CONF_OPTS += --without-jansson
44 endif
46 $(eval $(autotools-package))