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)
|
2017-03-30 15:43:32 +02:00
|
|
|
LINKNX_LICENSE = GPL-2.0+
|
2013-03-28 04:36:34 +01:00
|
|
|
LINKNX_INSTALL_STAGING = YES
|
2016-03-15 14:03:48 +01:00
|
|
|
# Patching acinclude.m4
|
|
|
|
LINKNX_AUTORECONF = YES
|
2015-01-15 08:21:39 +01:00
|
|
|
LINKNX_CONF_OPTS = \
|
|
|
|
--without-lua \
|
|
|
|
--without-log4cpp \
|
|
|
|
--without-pth-test \
|
|
|
|
--with-pth=$(STAGING_DIR)/usr \
|
2016-03-16 20:38:28 +01:00
|
|
|
--disable-smtp \
|
|
|
|
--with-libcurl=$(STAGING_DIR)/usr/bin/curl-config
|
2013-03-28 04:36:34 +01:00
|
|
|
|
2016-03-16 20:38:28 +01:00
|
|
|
LINKNX_DEPENDENCIES = libpthsem libcurl \
|
|
|
|
$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
|
2013-03-28 04:36:34 +01:00
|
|
|
|
2016-03-15 14:03:48 +01:00
|
|
|
# This is needed to make autoreconf happy
|
|
|
|
define LINKNX_CREATE_MISSING_FILES
|
|
|
|
touch $(@D)/NEWS $(@D)/AUTHORS $(@D)/README
|
|
|
|
endef
|
|
|
|
LINKNX_POST_EXTRACT_HOOKS += LINKNX_CREATE_MISSING_FILES
|
|
|
|
|
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
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|