2015-08-11 20:16:50 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libcodec2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-07-05 13:42:36 +02:00
|
|
|
LIBCODEC2_VERSION = 0.7
|
|
|
|
LIBCODEC2_SITE = http://files.freedv.org/codec2
|
|
|
|
LIBCODEC2_SOURCE = codec2-$(LIBCODEC2_VERSION).tar.xz
|
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))
|