kumquat-buildroot/package/libcodec2/libcodec2.mk
Olivier Schonken 6424c06376 libcodec2: bump to 0.7, switch to CMake
Since version 0.6, libcodec2 switched buildsystem from autotools to
cmake.

The patches in the libcodec2 directory were removed because they were
only relevant to the autotools build, but another patch was added to
fix the codec2.pc file being installed.

For the cmake package unittests are disabled by default. The download
site is changed to http://files.freedv.org/codec2. An option is added
to be able to install examples to target.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
[Thomas: switch to 0.7, add patch to fix .pc file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-31 22:33:03 +02:00

20 lines
561 B
Makefile

################################################################################
#
# libcodec2
#
################################################################################
LIBCODEC2_VERSION = 0.7
LIBCODEC2_SITE = http://files.freedv.org/codec2
LIBCODEC2_SOURCE = codec2-$(LIBCODEC2_VERSION).tar.xz
LIBCODEC2_LICENSE = LGPL-2.1
LIBCODEC2_LICENSE_FILES = COPYING
LIBCODEC2_INSTALL_STAGING = YES
LIBCODEC2_SUPPORTS_IN_SOURCE_BUILD = NO
ifeq ($(BR2_PACKAGE_LIBCODEC2_EXAMPLES),y)
LIBCODEC2_CONF_OPTS += -DINSTALL_EXAMPLES=ON
endif
$(eval $(cmake-package))