2014-04-28 23:34:40 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# 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
|
2014-10-19 20:04:41 +02:00
|
|
|
LIBSOXR_CONF_OPTS = -DWITH_OPENMP=OFF
|
2014-04-28 23:34:40 +02:00
|
|
|
|
|
|
|
ifeq ($(call qstrip,$(BR2_ENDIAN)),BIG)
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=1
|
2014-04-28 23:34:40 +02:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=0
|
2014-04-28 23:34:40 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|