![Bernd Kuhls](/assets/img/avatar_default.png)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
42 lines
1,008 B
Makefile
42 lines
1,008 B
Makefile
################################################################################
|
|
#
|
|
# linknx
|
|
#
|
|
################################################################################
|
|
|
|
LINKNX_VERSION = 0.0.1.33
|
|
LINKNX_SITE = $(call github,linknx,linknx,$(LINKNX_VERSION))
|
|
LINKNX_LICENSE = GPL-2.0+
|
|
LINKNX_INSTALL_STAGING = YES
|
|
LINKNX_CONF_OPTS = \
|
|
--without-log4cpp \
|
|
--without-pth-test \
|
|
--with-pth=$(STAGING_DIR)/usr \
|
|
--disable-smtp
|
|
|
|
LINKNX_DEPENDENCIES = libpthsem \
|
|
$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
|
LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr
|
|
LINKNX_DEPENDENCIES += libcurl
|
|
else
|
|
LINKNX_CONF_OPTS += --without-libcurl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LUA),y)
|
|
LINKNX_CONF_OPTS += --with-lua
|
|
LINKNX_DEPENDENCIES += lua
|
|
else
|
|
LINKNX_CONF_OPTS += --without-lua
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
|
LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr
|
|
LINKNX_DEPENDENCIES += mysql
|
|
else
|
|
LINKNX_CONF_OPTS += --without-mysql
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|