buildrootschalter/package/opus-tools/opus-tools.mk
Peter Korsgaard d04523f8fc opus-tools: bump version, add license info
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-06 09:34:10 +01:00

31 lines
770 B
Makefile

################################################################################
#
# opus-tools
#
################################################################################
OPUS_TOOLS_VERSION = 0.1.8
OPUS_TOOLS_SITE = http://downloads.xiph.org/releases/opus
OPUS_TOOLS_LICENSE = BSD-2c
OPUS_TOOLS_LICENSE_FILES = COPYING
OPUS_TOOLS_CONF_OPT = --disable-oggtest --disable-opustest
OPUS_TOOLS_DEPENDENCIES = opus libogg host-pkgconf
ifeq ($(BR2_PACKAGE_LIBPCAP),y)
OPUS_TOOLS_DEPENDENCIES += libpcap
endif
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
OPUS_TOOLS_CONF_OPT += --enable-sse
else
OPUS_TOOLS_CONF_OPT += --disable-sse
endif
ifeq ($(BR2_PACKAGE_FLAC),y)
OPUS_TOOLS_DEPENDENCIES += flac
else
OPUS_TOOLS_CONF_OPT += --without-flac
endif
$(eval $(autotools-package))