initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_LIBSTROPHE
|
||||
bool "libstrophe"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS
|
||||
select BR2_PACKAGE_LIBXML2 if !BR2_PACKAGE_EXPAT
|
||||
help
|
||||
libstrophe is a lightweight XMPP client library written in C.
|
||||
It has minimal dependencies and is configurable for various
|
||||
environments. It runs well on both Linux, Unix, and Windows
|
||||
based platforms.
|
||||
|
||||
https://github.com/strophe/libstrophe
|
||||
|
||||
comment "libstrophe needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 feafee545403d26a44aa573d4adf327d6d07ad3f3466370634d22bbac5bd49ee libstrophe-0.11.0.tar.xz
|
||||
sha256 82476f36ffd5e895a176013c0812166ba7b7d99f3d536fc7f5ed2e33e9f74a08 MIT-LICENSE.txt
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 GPL-LICENSE.txt
|
||||
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user