337aa51f3f
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for GPLv3/GPLv3+ is GPL-3.0/GPL-3.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv3\>/GPL-3.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
987 B
Makefile
28 lines
987 B
Makefile
################################################################################
|
|
#
|
|
# libstrophe
|
|
#
|
|
################################################################################
|
|
|
|
LIBSTROPHE_VERSION = 0.8.8
|
|
LIBSTROPHE_SITE = $(call github,strophe,libstrophe,$(LIBSTROPHE_VERSION))
|
|
LIBSTROPHE_DEPENDENCIES = openssl host-pkgconf
|
|
# Doesn't ship configure
|
|
LIBSTROPHE_AUTORECONF = YES
|
|
LIBSTROPHE_LICENSE = MIT or GPL-3.0
|
|
LIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt
|
|
LIBSTROPHE_INSTALL_STAGING = YES
|
|
LIBSTROPHE_PATCH = https://github.com/msantos/libstrophe/commit/b08766c8e46956daba010044b00c97f78b598780.patch
|
|
|
|
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
|
|
LIBSTROPHE_CONF_OPTS += --with-libxml2
|
|
LIBSTROPHE_DEPENDENCIES += libxml2
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|