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
|
|
|
|
|
|
|
LINKNX_VERSION = 0.0.1.30
|
|
|
|
LINKNX_SITE = http://downloads.sourceforge.net/project/linknx/linknx/linknx-$(LINKNX_VERSION)
|
|
|
|
LINKNX_LICENSE = GPLv2+
|
|
|
|
LINKNX_INSTALL_STAGING = YES
|
|
|
|
LINKNX_CONF_OPT = --without-lua --without-log4cpp --without-pth-test \
|
2013-04-03 02:27:58 +02:00
|
|
|
--with-pth=$(STAGING_DIR)/usr --disable-smtp
|
2013-03-28 04:36:34 +01:00
|
|
|
|
|
|
|
LINKNX_DEPENDENCIES = libpthsem
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL_CLIENT),y)
|
|
|
|
LINKNX_CONF_OPT += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
|
2013-05-13 02:52:29 +02:00
|
|
|
LINKNX_DEPENDENCIES += mysql_client
|
2013-03-28 04:36:34 +01:00
|
|
|
else
|
|
|
|
LINKNX_CONF_OPT += --without-mysql
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
|
|
|
LINKNX_CONF_OPT += --with-libcurl=$(STAGING_DIR)/usr/bin/curl-config
|
|
|
|
LINKNX_DEPENDENCIES += libcurl
|
|
|
|
else
|
|
|
|
LINKNX_CONF_OPT += --without-libcurl
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|