1 ################################################################################
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
17 --with-pth
=$(STAGING_DIR
)/usr \
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
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
34 LINKNX_CONF_OPTS
+= --without-mysql
37 $(eval
$(autotools-package
))