kumquat-buildroot/package/libstrophe/libstrophe.mk
Fabrice Fontaine ac49e2b4f6 package/libstrophe: bump to version 0.11.0
- Use official tarball (and so drop autoreconf and first patch)
- gnutls is an optional dependency since
  e490011b68

https://github.com/strophe/libstrophe/releases/tag/0.11.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-03 18:48:19 +01:00

32 lines
969 B
Makefile

################################################################################
#
# libstrophe
#
################################################################################
LIBSTROPHE_VERSION = 0.11.0
LIBSTROPHE_SOURCE = libstrophe-$(LIBSTROPHE_VERSION).tar.xz
LIBSTROPHE_SITE = https://github.com/strophe/libstrophe/releases/download/$(LIBSTROPHE_VERSION)
LIBSTROPHE_DEPENDENCIES = host-pkgconf
LIBSTROPHE_LICENSE = MIT or GPL-3.0
LIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt
LIBSTROPHE_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_EXPAT),y)
LIBSTROPHE_CONF_OPTS += --without-libxml2
LIBSTROPHE_DEPENDENCIES += expat
else
LIBSTROPHE_CONF_OPTS += --with-libxml2
LIBSTROPHE_DEPENDENCIES += libxml2
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBSTROPHE_CONF_OPTS += --with-tls --without-gnutls
LIBSTROPHE_DEPENDENCIES += openssl
else
LIBSTROPHE_CONF_OPTS += --with-gnutls --without-tls
LIBSTROPHE_DEPENDENCIES += gnutls
endif
$(eval $(autotools-package))