aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
892 B
Makefile
31 lines
892 B
Makefile
################################################################################
|
|
#
|
|
# linknx
|
|
#
|
|
################################################################################
|
|
|
|
LINKNX_VERSION = 0.0.1.32
|
|
LINKNX_SITE = http://downloads.sourceforge.net/project/linknx/linknx/linknx-$(LINKNX_VERSION)
|
|
LINKNX_LICENSE = GPLv2+
|
|
LINKNX_INSTALL_STAGING = YES
|
|
LINKNX_CONF_OPTS = --without-lua --without-log4cpp --without-pth-test \
|
|
--with-pth=$(STAGING_DIR)/usr --disable-smtp
|
|
|
|
LINKNX_DEPENDENCIES = libpthsem
|
|
|
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
|
LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
|
|
LINKNX_DEPENDENCIES += mysql
|
|
else
|
|
LINKNX_CONF_OPTS += --without-mysql
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
|
LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr/bin/curl-config
|
|
LINKNX_DEPENDENCIES += libcurl
|
|
else
|
|
LINKNX_CONF_OPTS += --without-libcurl
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|