kumquat-buildroot/package/volk/volk.mk
Gwenhael Goavec-Merou 0a397fa638 package/volk: fix licensing information
Since 2.5.1, volk has been undergoing a relicensing from GPL-3.0+ to the
LGPL-3.0+, which is still not completely done 5by some large margin), so
it is still covered by the GPL-3.0+, but has parts already covered by
the LGPL-3.0+.

We so far only listed GPL-3.0+, but we also had the license file for the
LGPL-3.0+.

Add LGPL-3.0+ to the list of licenses; the COPYING file is the text of
the GPL-3.0+, so we already had it listed (note: the package has a
COPYING-GPL, but i's a symlink to COPYING).

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
[yann.morin.1998@free.fr:
  - split out to its own patch
  - explain why we don't add COPYING-GPL
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-10-01 23:35:46 +02:00

43 lines
1.2 KiB
Makefile

################################################################################
#
# volk
#
################################################################################
VOLK_VERSION = 2.5.1
VOLK_SITE = https://github.com/gnuradio/volk/releases/download/v$(VOLK_VERSION)
VOLK_SOURCE = volk-$(VOLK_VERSION).tar.xz
# See https://github.com/gnuradio/volk/tree/v2.5.1#license for some
# details on the licensing.
VOLK_LICENSE = GPL-3.0+ LGPL-3.0+
VOLK_LICENSE_FILES = COPYING COPYING-LGPL
VOLK_SUPPORTS_IN_SOURCE_BUILD = NO
# host-python-mako are needed for volk to compile
VOLK_DEPENDENCIES = host-python3 host-python-mako
VOLK_CONF_OPTS = \
-DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \
-DENABLE_MODTOOL=OFF \
-DENABLE_TESTING=OFF \
-DENABLE_PROFILING=OFF \
-DVOLK_PYTHON_DIR=lib/python$(PYTHON3_VERSION_MAJOR)/site-packages
# For third-party blocks, the volk library is mandatory at
# compile time.
VOLK_INSTALL_STAGING = YES
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
VOLK_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
endif
ifeq ($(BR2_PACKAGE_ORC),y)
VOLK_DEPENDENCIES += orc
VOLK_CONF_OPTS += -DENABLE_ORC=ON
else
VOLK_CONF_OPTS += -DENABLE_ORC=OFF
endif
$(eval $(cmake-package))