7ecd947a7f56d8ffc0ec3d9390ae6650af8de0c5
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / linknx / linknx.mk
1 ################################################################################
2 #
3 # linknx
4 #
5 ################################################################################
6
7 LINKNX_VERSION = 0.0.1.32
8 LINKNX_SITE = http://downloads.sourceforge.net/project/linknx/linknx/linknx-$(LINKNX_VERSION)
9 LINKNX_LICENSE = GPLv2+
10 LINKNX_INSTALL_STAGING = YES
11 LINKNX_CONF_OPTS = \
12         --without-lua \
13         --without-log4cpp \
14         --without-pth-test \
15         --with-pth=$(STAGING_DIR)/usr \
16         --disable-smtp
17
18 LINKNX_DEPENDENCIES = libpthsem $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
19
20 ifeq ($(BR2_PACKAGE_MYSQL),y)
21 LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
22 LINKNX_DEPENDENCIES += mysql
23 else
24 LINKNX_CONF_OPTS += --without-mysql
25 endif
26
27 ifeq ($(BR2_PACKAGE_LIBCURL),y)
28 LINKNX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr/bin/curl-config
29 LINKNX_DEPENDENCIES += libcurl
30 else
31 LINKNX_CONF_OPTS += --without-libcurl
32 endif
33
34 $(eval $(autotools-package))