aab8305355
BUILD_SHARED_LIBS is already driven by the cmake-package infrastructure. [Thomas: amend to really remove the BUILD_SHARED_LIBS option from the package, after checking on IRC with Samuel.] Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
628 B
Makefile
22 lines
628 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_OPTS = -DWITH_OPENMP=OFF
|
|
|
|
ifeq ($(call qstrip,$(BR2_ENDIAN)),BIG)
|
|
LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=1
|
|
else
|
|
LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=0
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|