1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# libstrophe 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunLIBSTROPHE_VERSION = 0.11.0 8*4882a593SmuzhiyunLIBSTROPHE_SOURCE = libstrophe-$(LIBSTROPHE_VERSION).tar.xz 9*4882a593SmuzhiyunLIBSTROPHE_SITE = https://github.com/strophe/libstrophe/releases/download/$(LIBSTROPHE_VERSION) 10*4882a593SmuzhiyunLIBSTROPHE_DEPENDENCIES = host-pkgconf 11*4882a593SmuzhiyunLIBSTROPHE_LICENSE = MIT or GPL-3.0 12*4882a593SmuzhiyunLIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt 13*4882a593SmuzhiyunLIBSTROPHE_INSTALL_STAGING = YES 14*4882a593Smuzhiyun 15*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_EXPAT),y) 16*4882a593SmuzhiyunLIBSTROPHE_CONF_OPTS += --without-libxml2 17*4882a593SmuzhiyunLIBSTROPHE_DEPENDENCIES += expat 18*4882a593Smuzhiyunelse 19*4882a593SmuzhiyunLIBSTROPHE_CONF_OPTS += --with-libxml2 20*4882a593SmuzhiyunLIBSTROPHE_DEPENDENCIES += libxml2 21*4882a593Smuzhiyunendif 22*4882a593Smuzhiyun 23*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_OPENSSL),y) 24*4882a593SmuzhiyunLIBSTROPHE_CONF_OPTS += --with-tls --without-gnutls 25*4882a593SmuzhiyunLIBSTROPHE_DEPENDENCIES += openssl 26*4882a593Smuzhiyunelse 27*4882a593SmuzhiyunLIBSTROPHE_CONF_OPTS += --with-gnutls --without-tls 28*4882a593SmuzhiyunLIBSTROPHE_DEPENDENCIES += gnutls 29*4882a593Smuzhiyunendif 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun$(eval $(autotools-package)) 32