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
|
|
|
|
2020-04-23 12:44:41 +02:00
|
|
|
LINKNX_VERSION = 0.0.1.38
|
2017-07-30 18:05:08 +02:00
|
|
|
LINKNX_SITE = $(call github,linknx,linknx,$(LINKNX_VERSION))
|
2017-03-30 15:43:32 +02:00
|
|
|
LINKNX_LICENSE = GPL-2.0+
|
2019-04-20 22:42:50 +02:00
|
|
|
LINKNX_LICENSE_FILES = LICENSE
|
2013-03-28 04:36:34 +01:00
|
|
|
LINKNX_INSTALL_STAGING = YES
|
2019-04-20 22:42:51 +02:00
|
|
|
# We're patching configure.ac
|
|
|
|
LINKNX_AUTORECONF = YES
|
2015-01-15 08:21:39 +01:00
|
|
|
LINKNX_CONF_OPTS = \
|
2019-04-20 22:42:51 +02:00
|
|
|
--without-cppunit \
|
2015-01-15 08:21:39 +01:00
|
|
|
--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
|
|
|
|
2020-04-23 12:44:41 +02:00
|
|
|
# add host-gettext for AM_ICONV macro
|
2020-02-28 00:15:27 +01:00
|
|
|
LINKNX_DEPENDENCIES = \
|
2020-04-23 12:44:41 +02:00
|
|
|
host-gettext \
|
2020-02-28 00:15:27 +01:00
|
|
|
host-pkgconf \
|
|
|
|
libpthsem \
|
2019-04-20 22:42:51 +02:00
|
|
|
$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) \
|
|
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
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
|
|
|
|
|
2019-04-20 22:42:52 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LOG4CPP),y)
|
|
|
|
LINKNX_CONF_OPTS += --with-log4cpp
|
2020-02-28 00:15:27 +01:00
|
|
|
LINKNX_DEPENDENCIES += log4cpp
|
2019-04-20 22:42:52 +02:00
|
|
|
else
|
|
|
|
LINKNX_CONF_OPTS += --without-log4cpp
|
|
|
|
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))
|