2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-28 04:36:34 +01:00
|
|
|
#
|
|
|
|
# linknx
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-28 04:36:34 +01:00
|
|
|
|
2017-07-30 18:05:08 +02:00
|
|
|
LINKNX_VERSION = 0.0.1.33
|
|
|
|
LINKNX_SITE = $(call github,linknx,linknx,$(LINKNX_VERSION))
|
2017-03-30 15:43:32 +02:00
|
|
|
LINKNX_LICENSE = GPL-2.0+
|
2013-03-28 04:36:34 +01:00
|
|
|
LINKNX_INSTALL_STAGING = YES
|
2015-01-15 08:21:39 +01:00
|
|
|
LINKNX_CONF_OPTS = \
|
|
|
|
--without-log4cpp \
|
|
|
|
--without-pth-test \
|
|
|
|
--with-pth=$(STAGING_DIR)/usr \
|
2017-07-30 18:05:08 +02:00
|
|
|
--disable-smtp
|
2013-03-28 04:36:34 +01:00
|
|
|
|
2017-07-30 18:05:08 +02:00
|
|
|
LINKNX_DEPENDENCIES = libpthsem \
|
2016-03-16 20:38:28 +01:00
|
|
|
$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
|
2013-03-28 04:36:34 +01:00
|
|
|
|
2017-12-01 20:05:23 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
|
|
|
LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr
|
|
|
|
LINKNX_DEPENDENCIES += libcurl
|
|
|
|
else
|
|
|
|
LINKNX_CONF_OPTS += --without-libcurl
|
|
|
|
endif
|
|
|
|
|
2017-12-01 20:09:57 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LUA),y)
|
|
|
|
LINKNX_CONF_OPTS += --with-lua
|
|
|
|
LINKNX_DEPENDENCIES += lua
|
|
|
|
else
|
|
|
|
LINKNX_CONF_OPTS += --without-lua
|
|
|
|
endif
|
|
|
|
|
2014-01-22 07:24:35 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
2017-07-30 18:05:08 +02:00
|
|
|
LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr
|
2014-01-22 07:24:35 +01:00
|
|
|
LINKNX_DEPENDENCIES += mysql
|
2013-03-28 04:36:34 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LINKNX_CONF_OPTS += --without-mysql
|
2013-03-28 04:36:34 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|