python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / linknx / linknx.mk
blob5dc8bb2d08398f636048a1fae1e987c0bfb22441
1 ################################################################################
3 # linknx
5 ################################################################################
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 # Patching acinclude.m4
12 LINKNX_AUTORECONF = YES
13 LINKNX_CONF_OPTS = \
14 --without-lua \
15 --without-log4cpp \
16 --without-pth-test \
17 --with-pth=$(STAGING_DIR)/usr \
18 --disable-smtp \
19 --with-libcurl=$(STAGING_DIR)/usr/bin/curl-config
21 LINKNX_DEPENDENCIES = libpthsem libcurl \
22 $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
24 # This is needed to make autoreconf happy
25 define LINKNX_CREATE_MISSING_FILES
26 touch $(@D)/NEWS $(@D)/AUTHORS $(@D)/README
27 endef
28 LINKNX_POST_EXTRACT_HOOKS += LINKNX_CREATE_MISSING_FILES
30 ifeq ($(BR2_PACKAGE_MYSQL),y)
31 LINKNX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config
32 LINKNX_DEPENDENCIES += mysql
33 else
34 LINKNX_CONF_OPTS += --without-mysql
35 endif
37 $(eval $(autotools-package))