705662b41d
Building tests fails mainly because of the cross-compilation, so they are disabled for the moment. Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
743 B
Makefile
26 lines
743 B
Makefile
################################################################################
|
|
#
|
|
# libsoxr
|
|
#
|
|
################################################################################
|
|
|
|
LIBSOXR_VERSION = 0.1.1
|
|
LIBSOXR_SOURCE = soxr-$(LIBSOXR_VERSION)-Source.tar.xz
|
|
LIBSOXR_SITE = http://downloads.sourceforge.net/project/soxr
|
|
LIBSOXR_LICENSE = LGPLv2.1+
|
|
LIBSOXR_LICENSE_FILES = LICENCE COPYING.LGPL
|
|
LIBSOXR_INSTALL_STAGING = YES
|
|
LIBSOXR_CONF_OPT = -DWITH_OPENMP:BOOL=OFF -DBUILD_TESTS:BOOL=OFF
|
|
|
|
ifeq ($(BR2_PREFER_STATIC_LIB),y)
|
|
LIBSOXR_CONF_OPT += -DBUILD_SHARED_LIBS:BOOL=OFF
|
|
endif
|
|
|
|
ifeq ($(call qstrip,$(BR2_ENDIAN)),BIG)
|
|
LIBSOXR_CONF_OPT += -DHAVE_WORDS_BIGENDIAN=1
|
|
else
|
|
LIBSOXR_CONF_OPT += -DHAVE_WORDS_BIGENDIAN=0
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|