2015-08-11 20:16:50 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libcodec2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-11-20 11:30:25 +01:00
|
|
|
LIBCODEC2_VERSION = 1.0.1
|
2020-01-04 20:55:58 +01:00
|
|
|
LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION))
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBCODEC2_LICENSE = LGPL-2.1
|
2015-08-11 20:16:50 +02:00
|
|
|
LIBCODEC2_LICENSE_FILES = COPYING
|
|
|
|
LIBCODEC2_INSTALL_STAGING = YES
|
2017-07-05 13:42:36 +02:00
|
|
|
LIBCODEC2_SUPPORTS_IN_SOURCE_BUILD = NO
|
2017-08-02 18:52:17 +02:00
|
|
|
LIBCODEC2_CONF_OPTS = -DUNITTEST=OFF
|
2015-08-11 20:16:50 +02:00
|
|
|
|
2017-07-05 13:42:36 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBCODEC2_EXAMPLES),y)
|
|
|
|
LIBCODEC2_CONF_OPTS += -DINSTALL_EXAMPLES=ON
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|