Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 9 additions & 13 deletions net/ulogd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=ulogd
PKG_VERSION:=2.0.9
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://netfilter.org/pub/ulogd/
Expand Down Expand Up @@ -127,31 +127,27 @@ CONFIGURE_ARGS += \
--enable-nflog

ifneq ($(DEVELOPER)$(CONFIG_PACKAGE_ulogd-mod-dbi),)
CONFIGURE_ARGS += --with-dbi \
--with-dbi-inc=$(STAGING_DIR)/usr/include/dbi \
--with-dbi-lib=$(STAGING_DIR)/usr/lib
CONFIGURE_ARGS += --enable-dbi
else
CONFIGURE_ARGS += --without-dbi
CONFIGURE_ARGS += --disable-dbi
endif

ifneq ($(DEVELOPER)$(CONFIG_PACKAGE_ulogd-mod-mysql),)
CONFIGURE_ARGS += \
--with-mysql-inc=$(STAGING_DIR)/usr/include/mysql \
--with-mysql-lib=$(STAGING_DIR)/usr/lib/mysql
CONFIGURE_ARGS += --enable-mysql
else
CONFIGURE_ARGS += --without-mysql
CONFIGURE_ARGS += --disable-mysql
endif

ifneq ($(DEVELOPER)$(CONFIG_PACKAGE_ulogd-mod-pgsql),)
CONFIGURE_ARGS += --with-pgsql="$(STAGING_DIR)/usr"
CONFIGURE_ARGS += --enable-pgsql
else
CONFIGURE_ARGS += --without-pgsql
CONFIGURE_ARGS += --disable-pgsql
endif

ifneq ($(CONFIG_PACKAGE_ulogd-mod-sqlite),)
CONFIGURE_ARGS += --with-sqlite="$(STAGING_DIR)/usr"
CONFIGURE_ARGS += --enable-sqlite3
else
CONFIGURE_ARGS += --without-sqlite
CONFIGURE_ARGS += --disable-sqlite3
endif

define Package/ulogd/install
Expand Down
Loading