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
|
|
|
|
2013-12-08 04:30:47 +01:00
|
|
|
LINKNX_VERSION = 0.0.1.32
|
2013-03-28 04:36:34 +01:00
|
|
|
LINKNX_SITE = http://downloads.sourceforge.net/project/linknx/linknx/linknx-$(LINKNX_VERSION)
|
|
|
|
LINKNX_LICENSE = GPLv2+
|
|
|
|
LINKNX_INSTALL_STAGING = YES
|
2015-01-15 08:21:39 +01:00
|
|
|
LINKNX_CONF_OPTS = \
|
|
|
|
--without-lua \
|
|
|
|
--without-log4cpp \
|
|
|
|
--without-pth-test \
|
|
|
|
--with-pth=$(STAGING_DIR)/usr \
|
|
|
|
--disable-smtp
|
2013-03-28 04:36:34 +01:00
|
|
|
|
2015-05-03 23:15:05 +02:00
|
|
|
LINKNX_DEPENDENCIES = libpthsem $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
|
2013-03-28 04:36:34 +01:00
|
|
|
|
2014-01-22 07:24:35 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
|
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
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr/bin/curl-config
|
2013-03-28 04:36:34 +01:00
|
|
|
LINKNX_DEPENDENCIES += libcurl
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LINKNX_CONF_OPTS += --without-libcurl
|
2013-03-28 04:36:34 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|