20 lines
567 B
Makefile
20 lines
567 B
Makefile
################################################################################
|
|
#
|
|
# libcodec2
|
|
#
|
|
################################################################################
|
|
|
|
LIBCODEC2_VERSION = 1.0.5
|
|
LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION))
|
|
LIBCODEC2_LICENSE = LGPL-2.1
|
|
LIBCODEC2_LICENSE_FILES = COPYING
|
|
LIBCODEC2_INSTALL_STAGING = YES
|
|
LIBCODEC2_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
LIBCODEC2_CONF_OPTS = -DUNITTEST=OFF
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCODEC2_EXAMPLES),y)
|
|
LIBCODEC2_CONF_OPTS += -DINSTALL_EXAMPLES=ON
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|