2014-03-12 11:04:17 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libstrophe
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-09-24 00:46:58 +02:00
|
|
|
LIBSTROPHE_VERSION = 0.8.8
|
2014-03-12 11:04:17 +01:00
|
|
|
LIBSTROPHE_SITE = $(call github,strophe,libstrophe,$(LIBSTROPHE_VERSION))
|
|
|
|
LIBSTROPHE_DEPENDENCIES = openssl host-pkgconf
|
2015-09-24 00:46:58 +02:00
|
|
|
# Doesn't ship configure
|
2014-03-12 11:04:17 +01:00
|
|
|
LIBSTROPHE_AUTORECONF = YES
|
|
|
|
LIBSTROPHE_LICENSE = MIT or GPLv3
|
|
|
|
LIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt
|
|
|
|
LIBSTROPHE_INSTALL_STAGING = YES
|
2015-09-28 11:17:13 +02:00
|
|
|
LIBSTROPHE_PATCH = https://github.com/msantos/libstrophe/commit/b08766c8e46956daba010044b00c97f78b598780.patch
|
2014-03-12 11:04:17 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_EXPAT),y)
|
|
|
|
# Passing --without-libxml2 doesn't work, due to how AC_ARG_WITH is
|
|
|
|
# used in configure.ac. As long as --with-libxml2 is *not* passed, the
|
|
|
|
# configure script assumes expat should be used.
|
|
|
|
LIBSTROPHE_DEPENDENCIES += expat
|
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBSTROPHE_CONF_OPTS += --with-libxml2
|
2014-03-12 11:04:17 +01:00
|
|
|
LIBSTROPHE_DEPENDENCIES += libxml2
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|